mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-27 04:02:05 +00:00
Gate to screenless devices only
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user