Skip to content

Commit 347b758

Browse files
committed
ESP_IF_WIFI_STA-> WIFI_IF_STA
1 parent 532d911 commit 347b758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platforms/esp32/components/avm_builtins/network_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ static void sta_connect(Context *ctx, term pid, term ref, term config)
971971
//
972972
// Set up STA mode
973973
//
974-
if ((err = esp_wifi_set_config(ESP_IF_WIFI_STA, sta_wifi_config)) != ESP_OK) {
974+
if ((err = esp_wifi_set_config(WIFI_IF_STA, sta_wifi_config)) != ESP_OK) {
975975
ESP_LOGE(TAG, "Error setting STA mode config %d", err);
976976
free(sta_wifi_config);
977977
port_ensure_available(ctx, tuple_reply_size);

0 commit comments

Comments
 (0)