mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-20 12:02:21 +00:00
Move order
This commit is contained in:
parent
661fcd0e77
commit
0533ca0eda
@ -388,8 +388,8 @@ bool AdminModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshta
|
|||||||
SEGMENT_DEVICESTATE | SEGMENT_CONFIG | SEGMENT_MODULECONFIG | SEGMENT_CHANNELS)) {
|
SEGMENT_DEVICESTATE | SEGMENT_CONFIG | SEGMENT_MODULECONFIG | SEGMENT_CHANNELS)) {
|
||||||
myReply = allocErrorResponse(meshtastic_Routing_Error_NONE, &mp);
|
myReply = allocErrorResponse(meshtastic_Routing_Error_NONE, &mp);
|
||||||
LOG_DEBUG("Rebooting after successful restore of preferences");
|
LOG_DEBUG("Rebooting after successful restore of preferences");
|
||||||
disableBluetooth();
|
|
||||||
reboot(1000);
|
reboot(1000);
|
||||||
|
disableBluetooth();
|
||||||
} else {
|
} else {
|
||||||
myReply = allocErrorResponse(meshtastic_Routing_Error_BAD_REQUEST, &mp);
|
myReply = allocErrorResponse(meshtastic_Routing_Error_BAD_REQUEST, &mp);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user