From 39ec4c6d5d9e143642a033bddd55522ef93ea0bf Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 23 Dec 2021 12:34:16 +0100 Subject: [PATCH] Revert change to fix extra flashwrite before QuickPowerDetection Revert change to fix extra flashwrite before QuickPowerDetection (#14153) --- tasmota/tasmota.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota.ino b/tasmota/tasmota.ino index 8def8103f..6ebe7d7d2 100644 --- a/tasmota/tasmota.ino +++ b/tasmota/tasmota.ino @@ -337,7 +337,7 @@ void setup(void) { Settings->baudrate = APP_BAUDRATE / 300; Settings->serial_config = TS_SERIAL_8N1; } - SetSerialBegin(); // Reset serial interface if current serial settings are different from requested serial settings + SetSerialBaudrate(Settings->baudrate * 300); // Reset serial interface if current baudrate is different from requested baudrate if (1 == RtcReboot.fast_reboot_count) { // Allow setting override only when all is well UpdateQuickPowerCycle(true);