mirror of
https://github.com/esphome/esphome.git
synced 2024-12-18 11:34:54 +01:00
trying fix the packet structure issue
This commit is contained in:
parent
136ed225c1
commit
a271adad3b
1 changed files with 3 additions and 3 deletions
|
@ -58,11 +58,11 @@ struct ESPNowPacket {
|
|||
uint16_t crc16 = 0x1234;
|
||||
uint8_t data[MAX_ESPNOW_DATA_SIZE];
|
||||
uint8_t space = 0;
|
||||
} __attribute__((packed));
|
||||
};
|
||||
};
|
||||
|
||||
ESPNowPacket() ESPHOME_ALWAYS_INLINE : retrys(0) {}
|
||||
ESPNowPacket(uint64_t mac64, const uint8_t *data, uint8_t size, uint32_t app_id);
|
||||
inline ESPNowPacket() ESPHOME_ALWAYS_INLINE : retrys(0) {}
|
||||
inline ESPNowPacket(uint64_t mac64, const uint8_t *data, uint8_t size, uint32_t app_id);
|
||||
|
||||
inline void info(std::string place);
|
||||
|
||||
|
|
Loading…
Reference in a new issue