InfiniTime/src/components/motion
Isaac 9e128c838e
ShakeWake: Fixed instant wake after sleep issue in certain positions (#1691)
* ShakeWake: Fixed instant wake after sleep issue in certain positions

Add lastX var to track the previous x acceleration for correct calculation of speed.

Reorder axes for clarity.

---------

Co-authored-by: Isaac <114504394+isaacc27@users.noreply.github.com>
Co-authored-by: FintasticMan <52415484+FintasticMan@users.noreply.github.com>
2023-06-17 17:37:53 +02:00
..
MotionController.cpp ShakeWake: Fixed instant wake after sleep issue in certain positions (#1691) 2023-06-17 17:37:53 +02:00
MotionController.h ShakeWake: Fixed instant wake after sleep issue in certain positions (#1691) 2023-06-17 17:37:53 +02:00