mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 14:20:51 +00:00
ESP-NOW Transmitter
This commit is contained in:
@@ -140,7 +140,7 @@ void wifi_init() {
|
|||||||
void rc_send_data_task()
|
void rc_send_data_task()
|
||||||
{
|
{
|
||||||
while (true) {
|
while (true) {
|
||||||
if (esp_now_is_peer_exist(receiver_mac)) {
|
if (esp_now_is_peer_exist((uint8_t*)receiver_mac)) {
|
||||||
sendData();
|
sendData();
|
||||||
//sendRawData();
|
//sendRawData();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user