Skip to content

Commit b3cb5fc

Browse files
eerimoqivankravets
authored andcommitted
Simba ESP WiFi example for version 15.0.0. (#15)
1 parent 9437630 commit b3cb5fc

File tree

1 file changed

+1
-1
lines changed
  • simba/esp_wifi/station/src

1 file changed

+1
-1
lines changed

simba/esp_wifi/station/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ int main()
1313
esp_wifi_set_op_mode(esp_wifi_op_mode_station_t);
1414

1515
/* Configure the WiFi module as a Station.*/
16-
if (esp_wifi_station_init(WIFI_SSID, WIFI_PASS, NULL)) {
16+
if (esp_wifi_station_init(WIFI_SSID, WIFI_PASS, NULL, NULL)) {
1717
std_printf(FSTR("Failed to configure the wifi interface.\r\n"));
1818
}
1919

0 commit comments

Comments
 (0)