mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 15:27:33 +00:00
Do not mark the ack sender inline, the header wrappers use it from every unit
This commit is contained in:
@@ -143,7 +143,7 @@ class ESPHomeOTAComponent final : public ota::OTAComponent {
|
||||
#else
|
||||
static constexpr bool ACK_AFTER_WRITE = false;
|
||||
#endif
|
||||
inline void send_chunk_acks_(DataTransfer &xfer);
|
||||
void send_chunk_acks_(DataTransfer &xfer);
|
||||
inline void ack_received_(DataTransfer &xfer) {
|
||||
if (!ACK_AFTER_WRITE)
|
||||
this->send_chunk_acks_(xfer);
|
||||
|
||||
Reference in New Issue
Block a user