From 1937aaccb938160954b5c32bcaca901332972a98 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 8 Mar 2019 16:00:42 +0100 Subject: [PATCH] Wait 2S OFF before / after flashing a module / device --- radio/src/io/frsky_device_firmware_update.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/radio/src/io/frsky_device_firmware_update.cpp b/radio/src/io/frsky_device_firmware_update.cpp index 380699487..f3f8bba90 100644 --- a/radio/src/io/frsky_device_firmware_update.cpp +++ b/radio/src/io/frsky_device_firmware_update.cpp @@ -303,9 +303,9 @@ void DeviceFirmwareUpdate::flashFile(const char * filename) EXTERNAL_MODULE_OFF(); SPORT_UPDATE_POWER_OFF(); - /* wait 1s off */ - watchdogSuspend(1000); - RTOS_WAIT_MS(1000); + /* wait 2s off */ + watchdogSuspend(2000); + RTOS_WAIT_MS(2000); startup(); @@ -328,9 +328,9 @@ void DeviceFirmwareUpdate::flashFile(const char * filename) waitState(SPORT_IDLE, 500); // Clear the fifo - /* wait 1s off */ - watchdogSuspend(1000); - RTOS_WAIT_MS(1000); + /* wait 2s off */ + watchdogSuspend(2000); + RTOS_WAIT_MS(2000); if (intPwr) INTERNAL_MODULE_ON();