mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-09-30 23:11:04 +00:00
ESP-NOW Transmitter
This commit is contained in:
@@ -46,7 +46,7 @@ void wifi_init() {
|
||||
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
|
||||
ESP_ERROR_CHECK( esp_wifi_init(&cfg) );
|
||||
ESP_ERROR_CHECK( esp_wifi_set_storage(WIFI_STORAGE_RAM) );
|
||||
ESP_ERROR_CHECK( esp_wifi_set_mode(CONFIG_ESPNOW_WIFI_MODE));// ESPNOW_WIFI_MODE));
|
||||
ESP_ERROR_CHECK( esp_wifi_set_mode(ESPNOW_WIFI_MODE));
|
||||
ESP_ERROR_CHECK( esp_wifi_start());
|
||||
ESP_ERROR_CHECK( esp_wifi_set_channel(CONFIG_ESPNOW_CHANNEL, WIFI_SECOND_CHAN_NONE));
|
||||
#if CONFIG_ESPNOW_ENABLE_LONG_RANGE
|
||||
|
Reference in New Issue
Block a user