rotary pressed mistake

This commit is contained in:
philippe44
2020-02-06 16:55:07 -08:00
parent 4d68121111
commit 808804f306
2 changed files with 3 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ static void control_rotary_handler(void *client, rotary_event_e event, bool long
case ROTARY_PRESSED:
if (long_press) rotary.long_state = !rotary.long_state;
else if (rotary.volume_lock) action = ACTRLS_TOGGLE;
else action = KNOB_RIGHT;
else action = KNOB_PUSH;
break;
default:
break;