diff --git a/ESP-IDF_Robot_RC/main/espnow_example_main.c b/ESP-IDF_Robot_RC/main/espnow_example_main.c index f8036ff2e..421363b98 100755 --- a/ESP-IDF_Robot_RC/main/espnow_example_main.c +++ b/ESP-IDF_Robot_RC/main/espnow_example_main.c @@ -39,7 +39,7 @@ typedef struct { } __attribute__((packed)) sensors_data_t; // MAC address of receiver. For one-to-many broadcast, change MAC address to FF:FF...:FF -static uint8_t receiver_mac[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45}; +static uint8_t receiver_mac[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45}; // MAC address of Robot static esp_now_peer_info_t peerInfo; // ESP-NOW pointer holding info about devices (peers) static sensors_data_t *buf, buffer; // Pointer to the struct buffer holding data being sent.