Skip to content

Commit

Permalink
[sparse] sensord.conf.d/90-latte: adjust scaling override to account …
Browse files Browse the repository at this point in the history
…upstream sensorfw behaviour

The "multiply scale by 1000" behaviour remains on upstream sensorfw (see discussion here [0]),
so this commit takes that in account.

[0] https://git.merproject.org/mer-core/sensorfw/merge_requests/39

Signed-off-by: Eugenio Paolantonio (g7) <me@medesimo.eu>
  • Loading branch information
g7 committed Aug 14, 2019
1 parent 1512110 commit 6c04db5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sparse/etc/sensorfw/sensord.conf.d/90-latte.conf
@@ -1,5 +1,7 @@
[accelerometer]
input_match = accel_3d

[accel_3d]
scale = 0.0001

[als]
Expand All @@ -8,8 +10,12 @@ scale = 0.0001

[gyroscope]
input_match = gyro_3d

[gyro_3d]
scale = 0.0001

[magnetometer]
input_match = magn_3d

[magn_3d]
scale = 0.0001

0 comments on commit 6c04db5

Please sign in to comment.