mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-27 12:50:49 +03:00
fix stack depth & memory issues when using telnet
This commit is contained in:
@@ -413,7 +413,7 @@ char* network_manager_alloc_get_mac_string(uint8_t mac[6]);
|
||||
#define network_handler_entry_print(State_Machine, begin)
|
||||
#define network_handler_print(State_Machine, begin)
|
||||
#define NETWORK_EXECUTE_CB(mch) network_execute_cb(mch,NULL)
|
||||
#define NETWORK_PRINT_TRANSITION(prefix, source,target, event, print_source,caller )
|
||||
#define NETWORK_PRINT_TRANSITION(begin, prefix, source,target, event, print_source,caller )
|
||||
#define NETWORK_DEBUG_STATE_MACHINE(begin, cb_prefix,state_machine,print_from,caller)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -37,10 +37,10 @@
|
||||
#include "tools.h"
|
||||
static const char TAG[] = "http_server";
|
||||
|
||||
EXT_RAM_ATTR static httpd_handle_t _server = NULL;
|
||||
EXT_RAM_ATTR static httpd_handle_t _server;
|
||||
EXT_RAM_ATTR static int _port;
|
||||
EXT_RAM_ATTR rest_server_context_t *rest_context = NULL;
|
||||
EXT_RAM_ATTR RingbufHandle_t messaging=NULL;
|
||||
EXT_RAM_ATTR rest_server_context_t *rest_context;
|
||||
EXT_RAM_ATTR RingbufHandle_t messaging;
|
||||
|
||||
httpd_handle_t get_http_server(int *port) {
|
||||
if (port) *port = _port;
|
||||
|
||||
Reference in New Issue
Block a user