mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-07 12:07:09 +03:00
move to new cspot
This commit is contained in:
@@ -103,6 +103,7 @@ void strreplace(char *src, char *str, char *rep);
|
||||
bool http_server_lock_json_object(TickType_t xTicksToWait);
|
||||
/* @brief unlock the json config object */
|
||||
void http_server_unlock_json_object();
|
||||
httpd_handle_t http_get_server(int *port);
|
||||
#define PROTECTED_JSON_CALL(a) if(http_server_lock_json_object( portMAX_DELAY )){ \ a; http_server_unlocklock_json_object(); } else{ ESP_LOGE(TAG, "could not get access to json mutex in wifi_scan"); }
|
||||
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ EXT_RAM_ATTR static int _port;
|
||||
EXT_RAM_ATTR rest_server_context_t *rest_context;
|
||||
EXT_RAM_ATTR RingbufHandle_t messaging;
|
||||
|
||||
httpd_handle_t get_http_server(int *port) {
|
||||
httpd_handle_t http_get_server(int *port) {
|
||||
if (port) *port = _port;
|
||||
return _server;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user