解决自动更新bootloader死机的问题

软件版本2.00
解决检测任务中重试失败后不会填充返回值的bug
This commit is contained in:
ranchuan
2023-10-16 18:53:12 +08:00
parent 54bc5b44ac
commit cbbb2af298
21 changed files with 337 additions and 110 deletions

View File

@@ -1,7 +1,7 @@
#include "base/define.h"
#include "timer_cfg.h"
#include "base/delay.h"
Timerupdatefunc p_timer4update_func = NULL;
volatile Timerupdatefunc p_timer4update_func = NULL;
/*
@@ -11,7 +11,7 @@ Timerupdatefunc p_timer4update_func = NULL;
*/
static volatile uint16_t amend_plus_count = 0;
TimerTriger p_timertriger = NULL;
volatile TimerTriger p_timertriger = NULL;
void FireBus_ClkAmend(uint16_t pre_us,uint16_t trigger_us,uint16_t count,void *p_fun)
{