1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-04 04:12:23 +01:00

Fix native API log level enum values (#2151)

This commit is contained in:
Otto Winter
2021-08-16 01:57:50 +02:00
committed by GitHub
parent 117b58ebe6
commit 9b48ff5775
4 changed files with 10 additions and 19 deletions

View File

@@ -694,8 +694,6 @@ bool APIConnection::send_log_message(int level, const char *tag, const char *lin
auto buffer = this->create_buffer();
// LogLevel level = 1;
buffer.encode_uint32(1, static_cast<uint32_t>(level));
// string tag = 2;
// buffer.encode_string(2, tag, strlen(tag));
// string message = 3;
buffer.encode_string(3, line, strlen(line));
// SubscribeLogsResponse - 29