mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 10:10:53 +00:00
espnow autoreconnect
This commit is contained in:
0
ESP32-IDF_ESPNOW-Transmitter/build/.ninja_lock
Normal file
0
ESP32-IDF_ESPNOW-Transmitter/build/.ninja_lock
Normal file
@@ -110,9 +110,7 @@ static void sendData (void)
|
||||
receiver_mac[0], receiver_mac[1], receiver_mac[2],
|
||||
receiver_mac[3], receiver_mac[4], receiver_mac[5]);
|
||||
|
||||
uint8_t channel;
|
||||
esp_wifi_get_channel(&channel, NULL);
|
||||
ESP_LOGE(TAG, "ESP-NOW Channel: %d", channel);
|
||||
|
||||
deletePeer();
|
||||
vTaskDelay(pdMS_TO_TICKS(5000));
|
||||
if (espnow_channel < 11) {
|
||||
|
Reference in New Issue
Block a user