解决自动更新bootloader死机的问题
软件版本2.00 解决检测任务中重试失败后不会填充返回值的bug
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user