This commit is contained in:
zogodo
2019-12-26 22:30:15 +08:00
parent 82f9380202
commit e20d0412f4
2 changed files with 4 additions and 4 deletions

View File

@@ -754,7 +754,7 @@ void cJSON_Minify(char *json)
/****************************************************************/
// isXXX Function
// ÅжÏitemµÄÀàÐÍÓÃ
// 判断item的类型用
int cJSON_IsFalse(const cJSON * const item) {
if (item == NULL) {

View File

@@ -110,7 +110,7 @@ static int HttpGetPowerInfo(httpd_request_t *req)
int idx = 0;
sscanf(buf, "%d", &idx);
//计算系统运行时间
//计算系统运行时间
mico_time_t past_ms = 0;
mico_time_get_time(&past_ms);
int past = past_ms / 1000;
@@ -237,8 +237,8 @@ exit:
static int HttpDelTask(httpd_request_t *req)
{
//TODO 从url获取参数
char buf[16] = "1234567"; //假设已经获取到了.
//TODO 从url获取参数
char buf[16] = "1234567"; //假设已经获取到了.
int time;
sscanf(buf, "%d", &time);