mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 19:47:02 +03:00
Reduce system load when loading HTTP UI - release
This commit is contained in:
@@ -584,7 +584,7 @@ esp_err_t config_get_handler(httpd_req_t *req){
|
||||
}
|
||||
else {
|
||||
ESP_LOGD_LOC(TAG, "config json : %s",json );
|
||||
cJSON * gplist=get_gpio_list();
|
||||
cJSON * gplist=get_gpio_list(false);
|
||||
char * gpliststr=cJSON_PrintUnformatted(gplist);
|
||||
httpd_resp_sendstr_chunk(req,"{ \"gpio\":");
|
||||
httpd_resp_sendstr_chunk(req,gpliststr);
|
||||
|
||||
Reference in New Issue
Block a user