NotificationManager::GetInstance()->StopNotify();
}
- static uint8_t epo_timer_falg=20;
+ static uint8_t epo_timer_falg=60;
static bool epo_success_handled = false;
void epo_timerCallBack(int data)
{
- //给15s时间,等待EPO文件解压完成,超过15s不管成功与否,都停止通知
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "epo_timerCallBack epo_timer_falg = %d", epo_timer_falg);
if(epo_timer_falg<=0)
{
- epo_timer_falg=20;
+ epo_timer_falg=60;
NotificationManager::GetInstance()->StopNotify();
}
else
osTimerStop(transmitting_timer);
osTimerDelete(transmitting_timer);
transmitting_timer = NULL;
- epo_timer_falg=20;
+ epo_timer_falg=60;
}
epo_success_handled = false;
transmitting_timer = osTimerNew((osTimerFunc_t)epo_timerCallBack, osTimerPeriodic, NULL, NULL);