Fix compiler warnings over const losses.
This commit is contained in:
parent
d0373af5c0
commit
2d9c701c37
13 changed files with 22 additions and 22 deletions
|
|
@ -19,7 +19,7 @@ void httpd_task(void *pvParameters)
|
|||
if ((err = netconn_recv(client, &nb)) == ERR_OK) {
|
||||
struct sdk_station_config config;
|
||||
sdk_wifi_station_get_config(&config);
|
||||
char * buf =
|
||||
const char * buf =
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\
|
||||
<root>\
|
||||
<device>\
|
||||
|
|
@ -50,4 +50,4 @@ void httpd_task(void *pvParameters)
|
|||
netconn_close(client);
|
||||
netconn_delete(client);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue