mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-08 20:44:58 +00:00
Don't update the role unless you pick a value
This commit is contained in:
parent
dac245f994
commit
bc72265c73
@ -160,6 +160,7 @@ void menuHandler::DeviceRolePicker()
|
|||||||
if (selected == Back) {
|
if (selected == Back) {
|
||||||
menuHandler::menuQueue = menuHandler::lora_Menu;
|
menuHandler::menuQueue = menuHandler::lora_Menu;
|
||||||
screen->runNow();
|
screen->runNow();
|
||||||
|
return;
|
||||||
} else if (selected == devicerole_client) {
|
} else if (selected == devicerole_client) {
|
||||||
config.device.role = meshtastic_Config_DeviceConfig_Role_CLIENT;
|
config.device.role = meshtastic_Config_DeviceConfig_Role_CLIENT;
|
||||||
} else if (selected == devicerole_clientmute) {
|
} else if (selected == devicerole_clientmute) {
|
||||||
|
Loading…
Reference in New Issue
Block a user