fixed redundant state callback in AP plus STA mode
This commit is contained in:
parent
6c20a210f9
commit
d7d38b1524
|
|
@ -374,12 +374,13 @@ static void wifi_init_apsta(void *pvParameter)
|
||||||
;
|
;
|
||||||
|
|
||||||
ESP_ERROR_CHECK(esp_wifi_init(&ap_cfg));
|
ESP_ERROR_CHECK(esp_wifi_init(&ap_cfg));
|
||||||
|
/*
|
||||||
ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT,
|
ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT,
|
||||||
ESP_EVENT_ANY_ID,
|
ESP_EVENT_ANY_ID,
|
||||||
&event_handler,
|
&event_handler,
|
||||||
NULL,
|
NULL,
|
||||||
NULL));
|
NULL));
|
||||||
|
*/
|
||||||
wifi_config_t ap_wifi_config = {
|
wifi_config_t ap_wifi_config = {
|
||||||
.ap = {
|
.ap = {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user