fix: ota erase rf cal sector

This commit is contained in:
chenwu
2018-08-03 16:38:33 +08:00
parent edcd6cad8d
commit de56c9eadd
2 changed files with 10 additions and 6 deletions

View File

@@ -59,6 +59,10 @@ extern "C" {
#define UPGRADE_FW_BIN1 0x00 /**< firmware, user1.bin */
#define UPGRADE_FW_BIN2 0x01 /**< firmware, user2.bin */
#define SYSTEM_BIN_NO_MAP_MAX_SECTOR 58
#define SYSTEM_BIN_MAP_512_512_MAX_SECTOR 122
#define SYSTEM_BIN_MAP_1024_1024_MAX_SECTOR 250
/**
* @brief Callback of upgrading firmware through WiFi.
*