refactor: key handling (#4849)
This commit is contained in:
@@ -40,8 +40,7 @@ void menuRadioPowerMeter(event_t event)
|
||||
|
||||
if (TELEMETRY_STREAMING()) {
|
||||
lcdDrawCenteredText(LCD_H/2, STR_TURN_OFF_RECEIVER);
|
||||
if (event == EVT_KEY_FIRST(KEY_EXIT)) {
|
||||
killEvents(event);
|
||||
if (event == EVT_KEY_BREAK(KEY_EXIT)) {
|
||||
popMenu();
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user