OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a21141c
)
add ST70416-6 iio.accelerometer tranformation matrix
author
Mario Holzinger
<sandman01xda@gmail.com>
Sun, 17 Jul 2016 10:09:54 +0000
(12:09 +0200)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Mon, 26 Sep 2016 04:00:23 +0000
(12:00 +0800)
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
e9bbb98
..
58aa432
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-229,6
+229,9
@@
function init_hal_sensors()
*i7Stylus*)
set_property hal.sensors.iio.accel.matrix 1,0,0,0,-1,0,0,0,-1
;;
+ *ST70416-6*)
+ set_property hal.sensors.iio.accel.matrix 0,-1,0,-1,0,0,0,0,-1
+ ;;
*)
;;
esac