Userprefs prefix macros for clarity and consistency (#4923)

* Convert userprefs macros to prefixed ones for clarity

* Fix key
This commit is contained in:
Ben Meadors
2024-10-02 06:14:24 -05:00
committed by GitHub
parent b8044c4983
commit 00f15459ec
9 changed files with 44 additions and 44 deletions

View File

@@ -467,7 +467,7 @@ void AdminModule::handleSetConfig(const meshtastic_Config &c)
requiresReboot = true;
}
}
#if EVENT_MODE
#if USERPREFS_EVENT_MODE
// If we're in event mode, nobody is a Router or Repeater
if (config.device.role == meshtastic_Config_DeviceConfig_Role_ROUTER ||
config.device.role == meshtastic_Config_DeviceConfig_Role_REPEATER) {