espnow autoreconnect

This commit is contained in:
2025-07-29 06:20:27 -04:00
parent 15148112f2
commit 209677e51c

View File

@@ -218,7 +218,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 (1000 / portTICK_PERIOD_MS); vTaskDelay (100 / 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();
} }