mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-18 15:27:09 +00:00
.
This commit is contained in:
@@ -63,7 +63,7 @@ typedef struct {
|
||||
uint16_t seq_num; //Sequence number of ESPNOW data.
|
||||
uint16_t crc; //CRC16 value of ESPNOW data.
|
||||
uint32_t magic; //Magic number which is used to determine which device to send unicast ESPNOW data.
|
||||
uint8_t payload[0]; //Real payload of ESPNOW data.
|
||||
uint8_t payload[2]; //Real payload of ESPNOW data.
|
||||
} __attribute__((packed)) example_espnow_data_t;
|
||||
|
||||
/* Parameters of sending ESPNOW data. */
|
||||
|
Reference in New Issue
Block a user