Tweak wording for Send Position vs Node Info if the device has GPS

This commit is contained in:
Jason P 2025-08-23 12:50:41 -05:00
parent ee5ce78f80
commit 2b92fb74ea

View File

@ -367,8 +367,11 @@ void menuHandler::homeBaseMenu()
optionsArray[options] = "Sleep Screen";
optionsEnumArray[options++] = Sleep;
#endif
optionsArray[options] = "Send Position";
if (config.position.gps_mode == meshtastic_Config_PositionConfig_GpsMode_ENABLED) {
optionsArray[options] = "Send Position";
} else {
optionsArray[options] = "Send Node Info";
}
optionsEnumArray[options++] = Position;
optionsArray[options] = "New Preset Msg";
optionsEnumArray[options++] = Preset;