Commit bf8ce5d8 authored by 尹佳钦's avatar 尹佳钦

2020、09、17

parent d6475802
......@@ -31,7 +31,7 @@ void emAfTick(void)
{
emberAfMainTickCallback();
emberAfOtaServerTick();
emberAfPluginGatewayTickCallback();
//emberAfPluginGatewayTickCallback();
emberAfPluginHeartbeatTickCallback();
emberAfTick();
}
......
......@@ -205,8 +205,8 @@ error_return:
void emberAfMainTickCallback(void)
{
static int last_time;
int time = halCommonGetInt32uMillisecondTick();
static unsigned int last_time;
unsigned int time = halCommonGetInt32uMillisecondTick();
if((time-last_time)>=1000){
last_time = time;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment