mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 01:58:39 +00:00
Add static_asserts that the SEND_ACK/CAN/NAK states stay contiguous, so the inline range check in response_handler_() fails at compile time if the enum is ever reordered. Document that process_uart_slow_() requires available() > 0 at the declaration (the .cpp definition already carries the rationale).