Menu wording adjustments

This commit is contained in:
Jason P 2025-06-25 07:52:26 -05:00
parent e6ba326876
commit a395448170
2 changed files with 9 additions and 9 deletions

View File

@ -251,17 +251,17 @@ void menuHandler::homeBaseMenu()
if (kb_found) {
#ifdef PIN_EINK_EN
static const char *optionsArray[] = {"Back", "Toggle Backlight", "Send Adhoc Ping", "New Preset Msg", "New Freetext Msg"};
static const char *optionsArray[] = {"Back", "Toggle Backlight", "Send Position", "New Preset Msg", "New Freetext Msg"};
#else
static const char *optionsArray[] = {"Back", "Sleep Screen", "Send Adhoc Ping", "New Preset Msg", "New Freetext Msg"};
static const char *optionsArray[] = {"Back", "Sleep Screen", "Send Position", "New Preset Msg", "New Freetext Msg"};
#endif
optionsArrayPtr = optionsArray;
options = 5;
} else {
#ifdef PIN_EINK_EN
static const char *optionsArray[] = {"Back", "Toggle Backlight", "Send Adhoc Ping", "New Preset Msg"};
static const char *optionsArray[] = {"Back", "Toggle Backlight", "Send Position", "New Preset Msg"};
#else
static const char *optionsArray[] = {"Back", "Sleep Screen", "Send Adhoc Ping", "New Preset Msg"};
static const char *optionsArray[] = {"Back", "Sleep Screen", "Send Position", "New Preset Msg"};
#endif
optionsArrayPtr = optionsArray;
options = 4;
@ -280,9 +280,9 @@ void menuHandler::homeBaseMenu()
} else if (selected == 2) {
service->refreshLocalMeshNode();
if (service->trySendPosition(NODENUM_BROADCAST, true)) {
LOG_INFO("Position Update Sent");
LOG_INFO("Position Sent");
} else {
LOG_INFO("Node Info Update Sent");
LOG_INFO("Node Info Sent");
}
} else if (selected == 3) {
cannedMessageModule->LaunchWithDestination(NODENUM_BROADCAST);
@ -317,7 +317,7 @@ void menuHandler::favoriteBaseMenu()
void menuHandler::positionBaseMenu()
{
static const char *optionsArray[] = {"Back", "GPS Enable", "Compass Point"};
static const char *optionsArray[] = {"Back", "GPS Toggle", "Compass Point"};
screen->showOverlayBanner("Position Options", 30000, optionsArray, 3, [](int selected) -> void {
if (selected == 1) {
menuQueue = gps_toggle_menu;

View File

@ -100,9 +100,9 @@ int SystemCommandsModule::handleInputEvent(const InputEvent *event)
case INPUT_BROKER_SEND_PING:
service->refreshLocalMeshNode();
if (service->trySendPosition(NODENUM_BROADCAST, true)) {
IF_SCREEN(screen->showOverlayBanner("Position\nUpdate Sent", 3000));
IF_SCREEN(screen->showOverlayBanner("Position\nSent", 3000));
} else {
IF_SCREEN(screen->showOverlayBanner("Node Info\nUpdate Sent", 3000));
IF_SCREEN(screen->showOverlayBanner("Node Info\nSent", 3000));
}
return true;
// Power control