mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-12 04:47:17 +00:00
ESP-IDF Robot ESP NOW
This commit is contained in:
@@ -249,7 +249,7 @@ static void espnow_send_cb (const uint8_t *mac_addr, esp_now_send_status_t statu
|
||||
return;
|
||||
}
|
||||
|
||||
evt.id = EXAMPLE_ESPNOW_SEND_CB;
|
||||
evt.id = ESPNOW_SEND_CB; //EXAMPLE_ESPNOW_SEND_CB;
|
||||
memcpy(send_cb->mac_addr, mac_addr, ESP_NOW_ETH_ALEN);
|
||||
send_cb->status = status;
|
||||
if (xQueueSend(espnow_queue, &evt, ESPNOW_MAXDELAY) != pdTRUE) {
|
||||
|
Reference in New Issue
Block a user