MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements

This commit is contained in:
Oliver Seiler
2024-04-29 22:10:49 +12:00
parent 668b716119
commit 077ca5919a
37 changed files with 90 additions and 30 deletions

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) {