更新版本号,发送间隔改为4s,最小公倍数为20
This commit is contained in:
parent
1a14d5b193
commit
a5962de400
@ -495,7 +495,7 @@ static void upSendFile_thread_entry(void *parameter)
|
|||||||
issendall=0;
|
issendall=0;
|
||||||
// break;
|
// break;
|
||||||
}
|
}
|
||||||
rt_thread_mdelay(5000);//发送间隔,目前服务器未处理,暂设为3s避免粘包
|
rt_thread_mdelay(4000);//发送间隔,目前服务器未处理,暂设为3s避免粘包
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (issendall) {
|
if (issendall) {
|
||||||
|
@ -86,7 +86,7 @@ void show_version(void)
|
|||||||
char str[30];
|
char str[30];
|
||||||
uint8_t t[10];
|
uint8_t t[10];
|
||||||
size_t len=time2Byte(t);
|
size_t len=time2Byte(t);
|
||||||
rt_kprintf("SW Version: %s, build-%s\n","2.9d",bytes2str(t, 3, 10, "", str));
|
rt_kprintf("SW Version: %s, build-%s\n","2.91d",bytes2str(t, 3, 10, "", str));
|
||||||
}
|
}
|
||||||
|
|
||||||
MSH_CMD_EXPORT(show_version,显示版本号);
|
MSH_CMD_EXPORT(show_version,显示版本号);
|
||||||
|
Loading…
Reference in New Issue
Block a user