ESP32-C3 RC & Receiver

This commit is contained in:
2025-01-04 02:28:51 -05:00
parent 323f46490d
commit f78f516606
4 changed files with 3 additions and 3 deletions

View File

View File

@@ -1 +1 @@
91ee71bcd94953265c1aedea06e4b834fd463bae
323f46490d8300d79b43b0da518da70c0762a9c1

View File

@@ -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));

View File

@@ -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"