mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-06 14:38:25 -05:00
MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements
This commit is contained in:
@@ -431,6 +431,7 @@ int32_t CannedMessageModule::runOnce()
|
||||
runState = CANNED_MESSAGE_RUN_STATE_INACTIVE;
|
||||
break;
|
||||
case 0x9e: // toggle GPS like triple press does
|
||||
#if !MESHTASTIC_EXCLUDE_GPS
|
||||
if (gps != nullptr) {
|
||||
gps->toggleGpsMode();
|
||||
}
|
||||
@@ -438,7 +439,7 @@ int32_t CannedMessageModule::runOnce()
|
||||
screen->forceDisplay();
|
||||
showTemporaryMessage("GPS Toggled");
|
||||
break;
|
||||
|
||||
#endif
|
||||
// mute (switch off/toggle) external notifications on fn+m
|
||||
case 0xac:
|
||||
if (moduleConfig.external_notification.enabled == true) {
|
||||
|
||||
Reference in New Issue
Block a user