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:
@@ -204,7 +204,7 @@ static void rc_send_data_task()
|
|||||||
if (esp_now_is_peer_exist((uint8_t*)receiver_mac)) {
|
if (esp_now_is_peer_exist((uint8_t*)receiver_mac)) {
|
||||||
sendData();
|
sendData();
|
||||||
}
|
}
|
||||||
vTaskDelay (100 / portTICK_PERIOD_MS);
|
vTaskDelay (1000 / portTICK_PERIOD_MS);
|
||||||
/*if (esp_now_is_peer_exist((uint8_t*)receiver_2_mac)) {
|
/*if (esp_now_is_peer_exist((uint8_t*)receiver_2_mac)) {
|
||||||
sendData();
|
sendData();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user