mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 13:08:13 +08:00
测试图表可以跳动
This commit is contained in:
@@ -109,6 +109,7 @@ static int HttpGetPowerInfo(httpd_request_t *req)
|
||||
|
||||
char* powers = GetPowerRecord(idx);
|
||||
sprintf(power_info_json, POWER_INFO_JSON, power_record.idx, PW_NUM, powers);
|
||||
power_record.idx++; //test
|
||||
send_http(power_info_json, strlen(power_info_json), exit, &err);
|
||||
exit:
|
||||
return err;
|
||||
@@ -118,7 +119,7 @@ static int HttpGetWifiConfig(httpd_request_t *req)
|
||||
{
|
||||
OSStatus err = kNoErr;
|
||||
const unsigned char* status = GetSocketStatus();
|
||||
send_http(status, strlen(status), exit, &err);
|
||||
send_http(status, strlen((char*)status), exit, &err);
|
||||
exit:
|
||||
return err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user