diff --git a/TC1/http_server/app_httpd.h b/TC1/http_server/app_httpd.h index aa4085f..69212d0 100644 --- a/TC1/http_server/app_httpd.h +++ b/TC1/http_server/app_httpd.h @@ -68,10 +68,10 @@ 'socketNames':'%s',\ 'child_lock_enabled':%d,\ 'deviceName':'%s',\ - 'btnClicks':'%s'\ + 'btnClicks':%s\ }" -#define POWER_INFO_JSON "{'sockets':'%s','idx':%d,'len':%d,'p_count':%ld,'powers':[%s],'up_time':'%s','led_enabled':%d,'total_switch_on':%d,'socketNames':'%s','p_count_1_day_ago':%d,'p_count_2_days_ago':%d,'child_lock_enabled':%d,'deviceName':'%s','btnClicks':'%s'}" +#define POWER_INFO_JSON "{'sockets':'%s','idx':%d,'len':%d,'p_count':%ld,'powers':[%s],'up_time':'%s','led_enabled':%d,'total_switch_on':%d,'socketNames':'%s','p_count_1_day_ago':%d,'p_count_2_days_ago':%d,'child_lock_enabled':%d,'deviceName':'%s','btnClicks':%s}" int AppHttpdStart(void); diff --git a/TC1/http_server/web/index.html b/TC1/http_server/web/index.html index b495846..6a38668 100644 --- a/TC1/http_server/web/index.html +++ b/TC1/http_server/web/index.html @@ -20,11 +20,6 @@ -