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:
445b176
)
add ONDA tablet iio.accelerometer tranformation matrix
author
youling257
<youling257@gmail.com>
Sat, 24 Sep 2016 17:27:58 +0000
(
01:27
+0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Mon, 26 Sep 2016 04:08:13 +0000
(12:08 +0800)
Signed-off-by: youling257 <youling257@gmail.com>
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
58aa432
..
b287ec7
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-232,6
+232,9
@@
function init_hal_sensors()
*ST70416-6*)
set_property hal.sensors.iio.accel.matrix 0,-1,0,-1,0,0,0,0,-1
;;
*ST70416-6*)
set_property hal.sensors.iio.accel.matrix 0,-1,0,-1,0,0,0,0,-1
;;
+ *ONDATablet*)
+ set_property hal.sensors.iio.accel.matrix 0,1,0,1,0,0,0,0,-1
+ ;;
*)
;;
esac
*)
;;
esac