mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-15 01:26:43 +00:00
RC Calibration
This commit is contained in:
@@ -283,7 +283,7 @@ static void wifi_init()
|
||||
//ESP_ERROR_CHECK( esp_wifi_set_mode(ESPNOW_WIFI_MODE) );
|
||||
ESP_ERROR_CHECK( esp_wifi_set_mode(WIFI_MODE_APSTA) );
|
||||
|
||||
ESP_ERROR_CHECK( esp_wifi_start());
|
||||
|
||||
wifi_config_t wifi_config = {
|
||||
.sta = {
|
||||
.ssid = "IoT_bots",//WIFI_SSID,
|
||||
@@ -293,6 +293,7 @@ static void wifi_init()
|
||||
}
|
||||
};
|
||||
ESP_ERROR_CHECK( esp_wifi_set_config(ESPNOW_WIFI_IF, &wifi_config) );
|
||||
ESP_ERROR_CHECK( esp_wifi_start());
|
||||
|
||||
//ESP_ERROR_CHECK( esp_wifi_set_mode(CONFIG_ESPNOW_WIFI_MODE_STATION_SOFTAP) );
|
||||
//
|
||||
|
Reference in New Issue
Block a user