diff --git a/ESP-IDF_Robot_RC/main/espnow_example.h b/ESP-IDF_Robot_RC/main/espnow_example.h index 4ec39a05b..3e7104ab0 100755 --- a/ESP-IDF_Robot_RC/main/espnow_example.h +++ b/ESP-IDF_Robot_RC/main/espnow_example.h @@ -80,6 +80,7 @@ typedef struct { typedef struct { uint8_t *data; // Buffer; pointer to the data struct. + uint8_t dest_mac[ESP_NOW_ETH_ALEN]; // MAC address of destination device. } espnow_data_packet_t; /* Parameters of sending ESPNOW data. */