mirror of
https://github.com/meshtastic/firmware.git
synced 2026-11-06 22:34:13 -05:00
Turn the screen on, when the firmware update screen is shown (#12087)
This commit is contained in:
1 parent
6362e05424
commit
b38eb43762
1 file changed
+3
-1
@@ -414,8 +414,10 @@ bool AdminModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshta
|
||||
|
||||
if (MeshtasticOTA::trySwitchToOTA()) {
|
||||
suppressRebootBanner = true;
|
||||
if (screen)
|
||||
if (screen) {
|
||||
powerFSM.trigger(EVENT_PRESS);
|
||||
screen->startFirmwareUpdateScreen();
|
||||
}
|
||||
MeshtasticOTA::saveConfig(&config.network, mode, r->ota_request.ota_hash.bytes);
|
||||
sendWarningAndLog("Rebooting to %s OTA", mode_name);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user