1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

add optional espressif fw nonos-sdk 2.2.x (19.03.13) (#5873)

This commit is contained in:
david gauchard
2019-03-14 13:35:26 +01:00
committed by GitHub
parent e5b4de3633
commit a3ea816e65
21 changed files with 27 additions and 17 deletions

View File

@ -84,7 +84,7 @@ bool wifi_station_get_config (struct station_config *config)
config->bssid[i] = i;
config->threshold.rssi = 1;
config->threshold.authmode = AUTH_WPA_PSK;
#ifndef NONOSDK221
#ifdef NONOSDK3V0
config->open_and_wep_mode_disable = true;
#endif
return true;
@ -192,7 +192,7 @@ uint8 wifi_get_opmode_default (void)
return STATION_MODE;
}
#ifndef NONOSDK221
#ifdef NONOSDK3V0
sleep_level_t wifi_get_sleep_level (void)
{
@ -248,7 +248,7 @@ bool wifi_set_phy_mode (phy_mode_t mode)
return true;
}
#ifndef NONOSDK221
#ifdef NONOSDK3V0
bool wifi_set_sleep_level (sleep_level_t level)
{