user_upgrade.h 489 B

123456789101112131415161718192021222324252627
  1. #ifndef __USER_UPGRADE_H__
  2. #define __USER_UPGRADE_H__
  3. #include "define.h"
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. typedef enum
  8. {
  9. USER_UPGRADE_QUEUE_TIME = 0,
  10. USER_UPGRADE_QUEUE_ENTER_APP = 1,
  11. }USER_UPGRADE_QUEUE_TYPE;
  12. void user_upgrade_init(void);
  13. void user_upgrade_start(void);
  14. void ota_timeout_task_start(bool stat);
  15. void Set_User_Upgrade_Queue(USER_UPGRADE_QUEUE_TYPE type);
  16. #ifdef __cplusplus
  17. }
  18. #endif
  19. #endif // __USER_UPGRADE_H__
  20. /** @} */