mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 11:36:59 +03:00
Jenkins build fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
idf_component_register(SRCS "dns_server.c" "http_server.c" "json.c" "wifi_manager.c"
|
idf_component_register(SRCS "dns_server.c" "http_server.c" "json.c" "wifi_manager.c"
|
||||||
INCLUDE_DIRS .
|
INCLUDE_DIRS .
|
||||||
REQUIRES esp_common
|
REQUIRES esp_common
|
||||||
PRIV_REQUIRES newlib freertos spi_flash nvs_flash mdns pthread wpa_supplicant cmd_system
|
PRIV_REQUIRES newlib freertos spi_flash nvs_flash mdns pthread wpa_supplicant cmd_system json
|
||||||
EMBED_FILES style.css code.js index.html bootstrap.min.css.gz jquery.min.js.gz popper.min.js.gz bootstrap.min.js.gz
|
EMBED_FILES style.css code.js index.html bootstrap.min.css.gz jquery.min.js.gz popper.min.js.gz bootstrap.min.js.gz
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -419,11 +419,8 @@ void wifi_manager_generate_ip_info_json(update_reason_code_t update_reason_code)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if RECOVERY_APPLICATION
|
|
||||||
cJSON_AddItemToObject(ip_info_cjson, "ota_dsc", cJSON_CreateString(ota_get_status()));
|
cJSON_AddItemToObject(ip_info_cjson, "ota_dsc", cJSON_CreateString(ota_get_status()));
|
||||||
cJSON_AddNumberToObject(ip_info_cjson,"ota_pct", ota_get_pct_complete() );
|
cJSON_AddNumberToObject(ip_info_cjson,"ota_pct", ota_get_pct_complete() );
|
||||||
#endif
|
|
||||||
|
|
||||||
cJSON_AddItemToObject(ip_info_cjson, "Jack", cJSON_CreateString(JACK_LEVEL));
|
cJSON_AddItemToObject(ip_info_cjson, "Jack", cJSON_CreateString(JACK_LEVEL));
|
||||||
cJSON_AddNumberToObject(ip_info_cjson,"Voltage", adc1_get_raw(ADC1_CHANNEL_7) / 4095. * (10+174)/10. * 1.1);
|
cJSON_AddNumberToObject(ip_info_cjson,"Voltage", adc1_get_raw(ADC1_CHANNEL_7) / 4095. * (10+174)/10. * 1.1);
|
||||||
|
|||||||
Reference in New Issue
Block a user