🎨 Makes gesture sensor more readable and motion take last gesture

This commit is contained in:
Rune Harlyk
2025-09-10 15:09:24 +02:00
committed by Rune Harlyk
parent bfc259e660
commit 26c36b8302
3 changed files with 44 additions and 18 deletions
+2 -2
View File
@@ -197,10 +197,10 @@ class Peripherals : public StatefulService<PeripheralsConfiguration> {
// float angleZ() { return _imu.getAngleZ(); }
gesture_t getGesture() {
gesture_t takeGesture() {
return
#if FT_ENABLED(USE_PAJ7620U2)
_gesture.getGesture();
_gesture.takeGesture();
#else
gesture_t::eGestureNone;
#endif