Skip to content

Commit 2e7ae1b

Browse files
committed
fix(wifi_remote): Fix two-station example init issues
1 parent f34482c commit 2e7ae1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/esp_wifi_remote/examples/two_stations/main/remote_station.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ static void event_handler_remote(void* arg, esp_event_base_t event_base,
4545

4646
void wifi_init_remote_sta(void)
4747
{
48+
s_wifi_event_group = xEventGroupCreate();
4849
esp_wifi_remote_create_default_sta();
4950

5051
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();

0 commit comments

Comments
 (0)