1
0
mirror of https://github.com/esphome/esphome.git synced 2025-04-05 18:30:28 +01:00

fix build

This commit is contained in:
Tomasz Duda 2024-04-22 21:22:00 +02:00
parent affe59d0a5
commit 0bfdaf0961
2 changed files with 3 additions and 1 deletions

View File

@ -162,6 +162,7 @@ Logger::Logger(uint32_t baud_rate, size_t tx_buffer_size) : baud_rate_(baud_rate
}
#ifdef USE_LOGGER_USB_CDC
#ifndef USE_ZEPHYR
void Logger::loop() {
#ifdef USE_ARDUINO
if (this->uart_ != UART_SELECTION_USB_CDC) {
@ -178,6 +179,7 @@ void Logger::loop() {
#endif
}
#endif
#endif
void Logger::set_baud_rate(uint32_t baud_rate) { this->baud_rate_ = baud_rate; }
void Logger::set_log_level(const std::string &tag, int log_level) {

View File

@ -32,7 +32,7 @@ argcomplete>=2.0.0
git+https://github.com/tomaszduda23/smp/@f9b85266485062f6a466989e8f59b913cc83b08b
git+https://github.com/tomaszduda23/smpclient/@d25c8035ae2858fd41a106058297b619d58fbcb5
bleak==0.21.1
pydantic==2.16.2
pydantic==2.7.0
cbor2==5.6.1
crcmod==1.7
# pretty print by logging?