mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-06 19:49:19 +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) {
|
||||
menuHandler::menuQueue = menuHandler::lora_Menu;
|
||||
screen->runNow();
|
||||
return;
|
||||
} else if (selected == devicerole_client) {
|
||||
config.device.role = meshtastic_Config_DeviceConfig_Role_CLIENT;
|
||||
} else if (selected == devicerole_clientmute) {
|
||||
|
Loading…
Reference in New Issue
Block a user