mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 03:42:24 +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
@@ -145,7 +145,7 @@ static void statusDataSend(const uint8_t *mac_addr, esp_now_send_status_t status
|
||||
if (espnow_channel < 11) {
|
||||
espnow_channel++;
|
||||
} else {
|
||||
espnow_channel = 1;
|
||||
esp_restart();
|
||||
}
|
||||
|
||||
devices.channel = espnow_channel;
|
||||
|
Reference in New Issue
Block a user