mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-07 12:07:09 +03:00
bug fixes
This commit is contained in:
@@ -475,12 +475,11 @@ void http_server_netconn_serve(struct netconn *conn) {
|
||||
if(buff){
|
||||
netconn_write(conn, http_ok_json_no_cache_hdr, sizeof(http_ok_json_no_cache_hdr) - 1, NETCONN_NOCOPY);
|
||||
netconn_write(conn, buff, strlen(buff), NETCONN_NOCOPY);
|
||||
|
||||
wifi_manager_unlock_json_buffer();
|
||||
}
|
||||
else{
|
||||
netconn_write(conn, http_503_hdr, sizeof(http_503_hdr) - 1, NETCONN_NOCOPY);
|
||||
}
|
||||
wifi_manager_unlock_json_buffer();
|
||||
}
|
||||
else{
|
||||
netconn_write(conn, http_503_hdr, sizeof(http_503_hdr) - 1, NETCONN_NOCOPY);
|
||||
|
||||
@@ -66,7 +66,7 @@ Contains the freeRTOS task and all necessary support
|
||||
#endif
|
||||
|
||||
#ifndef SQUEEZELITE_ESP32_RELEASE_URL
|
||||
#define SQUEEZELITE_ESP32_RELEASE_URL https://github.com/sle118/squeezelite-esp32/releases
|
||||
#define SQUEEZELITE_ESP32_RELEASE_URL "https://github.com/sle118/squeezelite-esp32/releases"
|
||||
#endif
|
||||
#ifdef TAS575x
|
||||
#define JACK_GPIO 34
|
||||
@@ -329,7 +329,7 @@ cJSON * wifi_manager_get_new_json(cJSON **old){
|
||||
}
|
||||
cJSON * wifi_manager_clear_ip_info_json(cJSON **old){
|
||||
cJSON *root = wifi_manager_get_new_json(old);
|
||||
cJSON_AddItemToObject(root, "message", cJSON_CreateString("Initializing"));
|
||||
// cJSON_AddItemToObject(root, "message", cJSON_CreateString("Initializing"));
|
||||
return root;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user