From 2d58a1ed02193d45ba6c7b6709bb98f9d7fa9bf9 Mon Sep 17 00:00:00 2001 From: NP v/d Spek Date: Sat, 24 Aug 2024 21:20:21 +0200 Subject: [PATCH] other fix --- esphome/components/espnow/espnow_packet.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/esphome/components/espnow/espnow_packet.c b/esphome/components/espnow/espnow_packet.c index e9a185f16a..e5083f1bfd 100644 --- a/esphome/components/espnow/espnow_packet.c +++ b/esphome/components/espnow/espnow_packet.c @@ -5,11 +5,11 @@ static const char *const TAG = "espnow_packet"; -inline ESPNowPacket::ESPNowPacket(const uint64_t mac64, const uint8_t *data, uint8_t size, - uint32_t app_id) ESPHOME_ALWAYS_INLINE : mac64(mac64), - size(size), - app_id(app_id), - retrys(0) { +ESPNowPacket::ESPNowPacket(const uint64_t mac64, const uint8_t *data, uint8_t size, + uint32_t app_id) ESPHOME_ALWAYS_INLINE : mac64(mac64), + size(size), + app_id(app_id), + retrys(0) { if (this->mac64 == 0) this->mac64 = ESPNOW_BROADCAST_ADDR; this->is_broadcast = this->mac64 == ESPNOW_BROADCAST_ADDR;