diff options
author | zlzhang <zlzhang@mobvoi.com> | 2017-12-01 19:55:49 +0800 |
---|---|---|
committer | Ben Fennema <fennema@google.com> | 2017-12-07 06:33:31 +0000 |
commit | 9e5996b838eaf1a545efe8f7ad6e708f47e00e0c (patch) | |
tree | 54d34aedf6833cc90f84d751378aba73d7d2445c | |
parent | 1f9e4f9fff797685152208c336f95bdd38f78a54 (diff) | |
download | mediatek-android-mediatek-mooneye-3.18-nougat-mr1-wear.tar.gz |
Sensorhub: fixed the bug that compass is not in the right directionandroid-wear-7.1.1_r0.51android-mediatek-mooneye-3.18-nougat-mr1-wear
Bug:70011909
(cherry picked from commit a13bc2aed3ccff67f5649b7386f0adc57299a270)
Change-Id: I03743eef534af6a863d8eedbc6937122b0336787
-rw-r--r-- | drivers/misc/mediatek/sensorhub/CwMcuSensor/CwMcuSensor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mediatek/sensorhub/CwMcuSensor/CwMcuSensor.c b/drivers/misc/mediatek/sensorhub/CwMcuSensor/CwMcuSensor.c index a00435123837..c03375885c43 100644 --- a/drivers/misc/mediatek/sensorhub/CwMcuSensor/CwMcuSensor.c +++ b/drivers/misc/mediatek/sensorhub/CwMcuSensor/CwMcuSensor.c @@ -3710,7 +3710,7 @@ static void cwmcu_hw_config_init(struct CWMCU_T *sensor) sensor->firmware_update_status = 2; sensor->POSITIONData[0] = 5; - sensor->POSITIONData[1] = 5; + sensor->POSITIONData[1] = 4; sensor->POSITIONData[2] = 5; for (i = 0; i < DRIVER_ID_END; i++) { |