MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements

This commit is contained in:
Oliver Seiler
2024-05-03 14:15:13 +12:00
parent 668b716119
commit 077ca5919a
37 files changed
+90 -30

No files matched your search

+2 -1
View File
@@ -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) {