Skip to content

Commit f745523

Browse files
korneldulebaChromeos LUCI
authored andcommitted
Whiterun: Increase lis12dw2 sensor ODR
It's used for body detection feature. The suggested frequency for that is 50Hz. Adjust the sensor to match that. BUG=b:262680246 BRANCH=none TEST="accelrate 0" prints 50Hz Change-Id: Iec93d4508251bcd63eafbe5c7e4bdee5531c6217 Signed-off-by: Kornel Dulęba <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4379150 Reviewed-by: Gwendal Grignou <[email protected]>
1 parent 8b50c76 commit f745523

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

zephyr/program/skyrim/winterhold/motionsense.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,12 @@
7676
configs {
7777
compatible =
7878
"cros-ec,motionsense-sensor-config";
79+
/* 50 Hz to support body detection. */
7980
ec-s0 {
80-
odr = <(12500 | ROUND_UP_FLAG)>;
81+
odr = <(50000 | ROUND_UP_FLAG)>;
8182
};
8283
ec-s3 {
83-
odr = <(12500 | ROUND_UP_FLAG)>;
84+
odr = <(50000 | ROUND_UP_FLAG)>;
8485
};
8586
};
8687
};

0 commit comments

Comments
 (0)