mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 21:17:18 +03:00
Major refactoring. OTA Works now (yes, yes... really works! )
This commit is contained in:
@@ -235,8 +235,8 @@ err_t http_server_nvs_dump(struct netconn *conn, nvs_type_t nvs_type, bool * bFi
|
|||||||
if(strstr(info.namespace_name, current_namespace)){
|
if(strstr(info.namespace_name, current_namespace)){
|
||||||
if(!*bFirst){
|
if(!*bFirst){
|
||||||
netconn_write(conn, array_separator, strlen(array_separator), NETCONN_NOCOPY);
|
netconn_write(conn, array_separator, strlen(array_separator), NETCONN_NOCOPY);
|
||||||
*bFirst=true;
|
|
||||||
}
|
}
|
||||||
|
*bFirst=false;
|
||||||
void * value = get_nvs_value_alloc(nvs_type,info.key);
|
void * value = get_nvs_value_alloc(nvs_type,info.key);
|
||||||
if(value==NULL)
|
if(value==NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user