1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-11 15:22:13 +03:00

Updater: check boot mode before starting update

ref. https://github.com/esp8266/Arduino/issues/1017
This commit is contained in:
Ivan Grokhotkov
2017-05-09 17:32:39 +08:00
committed by Ivan Grokhotkov
parent 22c7d792f0
commit 9b0ad39e94
2 changed files with 16 additions and 1 deletions

View File

@ -16,7 +16,7 @@
#define UPDATE_ERROR_FLASH_CONFIG (8)
#define UPDATE_ERROR_NEW_FLASH_CONFIG (9)
#define UPDATE_ERROR_MAGIC_BYTE (10)
#define UPDATE_ERROR_BOOTSTRAP (11)
#define U_FLASH 0
#define U_SPIFFS 100