1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-12 08:12:22 +01:00
This commit is contained in:
J. Nick Koston
2025-06-13 15:14:14 -05:00
parent 23748b82bb
commit faa7a3e37f

View File

@@ -1791,7 +1791,7 @@ void APIConnection::process_batch_() {
this->batch_first_message_ = true; this->batch_first_message_ = true;
size_t items_processed = 0; size_t items_processed = 0;
uint32_t remaining_size = std::numeric_limits<uint16_t>::max(); uint16_t remaining_size = std::numeric_limits<uint16_t>::max();
// Track where each message's header padding begins in the buffer // Track where each message's header padding begins in the buffer
// For plaintext: this is where the 6-byte header padding starts // For plaintext: this is where the 6-byte header padding starts