mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-22 18:30:19 +00:00
tx/rx
This commit is contained in:
@@ -149,6 +149,10 @@ static void rc_send_data_task()
|
||||
sendData();
|
||||
}
|
||||
vTaskDelay (10 / portTICK_PERIOD_MS);
|
||||
if (esp_now_is_peer_exist((uint8_t*)receiver_2_mac)) {
|
||||
sendData();
|
||||
}
|
||||
vTaskDelay (10 / portTICK_PERIOD_MS);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user