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:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user