Fix compiler warnings over const losses.

This commit is contained in:
Our Air Quality 2019-04-06 11:30:53 +11:00
parent d0373af5c0
commit 2d9c701c37
13 changed files with 22 additions and 22 deletions

View file

@ -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);
}
}
}