Gate to screenless devices only

This commit is contained in:
Jason P
2026-01-08 08:46:03 -06:00
parent 731065b05c
commit 0743f8ac8c

View File

@@ -241,7 +241,7 @@ int32_t ButtonThread::runOnce()
this->notifyObservers(&evt); this->notifyObservers(&evt);
playComboTune(); playComboTune();
break; break;
#if !HAS_SCREEN
case 4: case 4:
if (moduleConfig.external_notification.enabled && externalNotificationModule) { if (moduleConfig.external_notification.enabled && externalNotificationModule) {
externalNotificationModule->setMute(!externalNotificationModule->getMute()); externalNotificationModule->setMute(!externalNotificationModule->getMute());
@@ -255,7 +255,7 @@ int32_t ButtonThread::runOnce()
} }
} }
break; break;
#endif
// No valid multipress action // No valid multipress action
default: default:
break; break;