mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 02:03:21 +00:00
ESP32-C3 RC & Receiver
This commit is contained in:
0
ESP-IDF_Robot_RC/build/.ninja_lock
Normal file
0
ESP-IDF_Robot_RC/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
||||
91ee71bcd94953265c1aedea06e4b834fd463bae
|
||||
323f46490d8300d79b43b0da518da70c0762a9c1
|
||||
|
@@ -12,7 +12,7 @@ static void wifi_init(void)
|
||||
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(EWIFI_MODE_AP) );
|
||||
ESP_ERROR_CHECK( esp_wifi_set_mode(WIFI_MODE_AP) );
|
||||
ESP_ERROR_CHECK( esp_wifi_start());
|
||||
ESP_ERROR_CHECK( esp_wifi_set_channel(CONFIG_ESPNOW_CHANNEL, WIFI_SECOND_CHAN_NONE));
|
||||
|
||||
|
@@ -25,7 +25,7 @@
|
||||
//#include "esp_netif.h"
|
||||
//#include "esp_wifi.h"
|
||||
#include "esp_log.h"
|
||||
#include "esp_mac.h"
|
||||
//#include "esp_mac.h"
|
||||
#include "esp_now.h"
|
||||
#include "esp_crc.h"
|
||||
//#include "espnow_example.h"
|
||||
|
Reference in New Issue
Block a user