mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 04:27:12 +03:00
register STA_DISCONNECT userspace event
This commit is contained in:
@@ -391,7 +391,7 @@ void app_main()
|
||||
ESP_LOGW(TAG,"\n\nwifi manager is ENABLED. Starting...\n\n");
|
||||
wifi_manager_start();
|
||||
wifi_manager_set_callback(EVENT_STA_GOT_IP, &cb_connection_got_ip);
|
||||
wifi_manager_set_callback(WIFI_EVENT_STA_DISCONNECTED, &cb_connection_sta_disconnected);
|
||||
wifi_manager_set_callback(EVENT_STA_DISCONNECTED, &cb_connection_sta_disconnected);
|
||||
}
|
||||
console_start();
|
||||
if(fwurl && strlen(fwurl)>0){
|
||||
|
||||
Reference in New Issue
Block a user