disable osd gesture when osd is in-active
@@ -81,12 +81,13 @@ void gestures() {
ledcommand = 1;
state.aux[AUX_CHANNEL_GESTURE] = 0;
}
+
+#ifdef ENABLE_OSD
if (command == GESTURE_LRL) {
while (osd_pop_screen() != OSD_SCREEN_CLEAR)
;
}
-#ifdef ENABLE_OSD
if (command == GESTURE_OSD_UP) {
osd_handle_input(OSD_INPUT_UP);
}
