We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81e3ebe commit 5c7b407Copy full SHA for 5c7b407
1 file changed
cores/esp8266/Updater.cpp
@@ -8,6 +8,7 @@
8
extern "C" {
9
#include "c_types.h"
10
#include "spi_flash.h"
11
+ #include "user_interface.h"
12
}
13
14
extern "C" uint32_t _SPIFFS_start;
@@ -59,6 +60,8 @@ bool UpdaterClass::begin(size_t size, int command) {
59
60
_reset();
61
_error = 0;
62
63
+ wifi_set_sleep_type(NONE_SLEEP_T);
64
+
65
uint32_t updateStartAddress = 0;
66
if (command == U_FLASH) {
67
//size of current sketch rounded to a sector
0 commit comments