1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 07:03:55 +00:00
This commit is contained in:
J. Nick Koston
2025-10-28 14:57:55 -05:00
parent f44227a578
commit 10b24a225c

View File

@@ -229,6 +229,7 @@ class ProtoWriteBuffer {
this->buffer_->data()[start] = static_cast<uint8_t>(value);
return;
}
uint8_t *p = this->buffer_->data() + start;
if (value < 16384) {
// 2 bytes