🎨 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
+1 -1
View File
@@ -106,7 +106,7 @@ class MotionService {
}
void handleGestures() {
const gesture_t ges = _peripherals->getGesture();
const gesture_t ges = _peripherals->takeGesture();
if (ges != gesture_t::eGestureNone) {
ESP_LOGI("Motion", "Gesture: %d", ges);
switch (ges) {