1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-04 19:03:47 +01:00

more api loop reductions

This commit is contained in:
J. Nick Koston
2025-06-23 10:59:49 +02:00
parent e8c250a03c
commit e767f30886

View File

@@ -38,7 +38,7 @@ struct PacketInfo {
: message_type(type), offset(off), payload_size(size), padding(0) {} : message_type(type), offset(off), payload_size(size), padding(0) {}
}; };
enum class APIError : int { enum class APIError : uint16_t {
OK = 0, OK = 0,
WOULD_BLOCK = 1001, WOULD_BLOCK = 1001,
BAD_HANDSHAKE_PACKET_LEN = 1002, BAD_HANDSHAKE_PACKET_LEN = 1002,