This commit is contained in:
2025-07-05 17:47:27 -04:00
parent 39f0acb461
commit 4b46534273

View File

@@ -149,6 +149,10 @@ static void rc_send_data_task()
sendData(); sendData();
} }
vTaskDelay (10 / portTICK_PERIOD_MS); vTaskDelay (10 / portTICK_PERIOD_MS);
if (esp_now_is_peer_exist((uint8_t*)receiver_2_mac)) {
sendData();
}
vTaskDelay (10 / portTICK_PERIOD_MS);
} }
} }