Fix wrong return
This commit is contained in:
parent
73c486cc2f
commit
888a37450b
|
|
@ -249,7 +249,7 @@ Buttons ButtonPressed(uint16_t ec) {
|
|||
break;
|
||||
case ERR_SYSTEM_FW_UPDATE_NEEDED:
|
||||
switch (buttonSelectedOperation) {
|
||||
case ButtonOperations::RestartMMU: // "Restart MMU"
|
||||
case ButtonOperations::DisableMMU: // "Restart MMU"
|
||||
return DisableMMU;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue