Fix some compilation warnings and add esp-idf platform for experiment (#454)

And fix some code indent issues.
This commit is contained in:
Wenyong Huang
2020-11-30 16:03:51 +08:00
committed by GitHub
parent 7d8b79a7a7
commit 282831eba5
35 changed files with 342 additions and 363 deletions

View File

@ -73,8 +73,8 @@ bool send_error_response_to_host(int mid, int status, const char *msg)
}
}
set_response(response, status,
FMT_ATTR_CONTAINER, (const char *)payload, payload_len);
set_response(response, status, FMT_ATTR_CONTAINER,
(const char *)payload, payload_len);
response->mid = mid;
send_response_to_host(response);