Code comments

This commit is contained in:
2025-06-17 01:16:23 -04:00
parent 69e8e80f06
commit 3dc569432d

View File

@@ -39,7 +39,7 @@ typedef struct {
} __attribute__((packed)) sensors_data_t; } __attribute__((packed)) sensors_data_t;
// MAC address of receiver. For one-to-many broadcast, change MAC address to FF:FF...:FF // 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 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. static sensors_data_t *buf, buffer; // Pointer to the struct buffer holding data being sent.