123456789101112131415161718 |
- #ifndef OTA_MESSAGE_H
- #define OTA_MESSAGE_H
- #include "stdint.h"
- #define OTA_EVENT_BLOCK 1
- typedef struct _OTA_MESSAGE_INFO{
- uint32_t otaflag; //用于记录是否要从w25q32中读取
- uint32_t XmodemByte; //用于记录一共写入了多少字节的数据
- }OTA_MESSAGE;
- extern int load_ota_message_config_params();
- extern void clear_ota_message_config_block(void);
- extern OTA_MESSAGE *get_config_params();
- #endif
|