1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-10-16 22:27:59 +03:00

add magic byte check for Update class

Note: only check of first 0xE9 possible.
This commit is contained in:
Markus Sattler
2015-12-20 11:46:00 +01:00
parent a04c225c59
commit 53e01932d3
2 changed files with 13 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
#define UPDATE_ERROR_STREAM (5)
#define UPDATE_ERROR_MD5 (6)
#define UPDATE_ERROR_FLASH_CONFIG (7)
#define UPDATE_ERROR_MAGIC_BYTE (8)
#define U_FLASH 0