mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 17:05:36 +00:00
883a300785
Replace two separate write_raw_byte calls with a single encode_small_varint(tag, value) call that writes both bytes with one bounds check. Used for enum fields with max < 128.