OSDN Git Service

init.sh: add sensors support for EZpad
authorChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 11 Jun 2018 10:06:28 +0000 (18:06 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 11 Jun 2018 10:06:28 +0000 (18:06 +0800)
init.sh

diff --git a/init.sh b/init.sh
index 2228775..a59ac18 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -267,7 +267,7 @@ function init_hal_sensors()
                *ST70416-6*)
                        set_property ro.iio.accel.order 102
                        ;;
-               *T10*TA*)
+               *T10*TA*|*pnEZpad*)
                        set_property ro.iio.accel.y.opt_scale -1
                        ;;
                *)