}
static uint8_t timer_falg_low_power=5;
+ static uint8_t test_flag=0;
+
+ static void OTATimerCallBackProc(int data)
+ {
+ #if 0
+ updatasider->SetValue(test_flag++);
+ #else
+ updatasider->SetValue(get_OTA_recv_value());
+ #endif
+ updatasider->Invalidate();
+ }
+
void OTATimerCallBack(int data)
{
- updatasider->SetValue(get_OTA_recv_value());
- RootView::GetInstance()->Invalidate();
+ GraphicService::GetInstance()->PostGraphicEvent(std::bind(OTATimerCallBackProc, data));
}
void dialtimerCallBack(int data)