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

Fix build failures on host platform caused by #6167 (#6338)

* Fix build failures for logger component on host platform

* Add climits header

* Restore logger functionality on host

* Install libsodium in ci
This commit is contained in:
Clyde Stubbs
2024-03-10 14:08:58 +11:00
committed by GitHub
parent 90f416bd0d
commit 0bc645ded7
8 changed files with 33 additions and 0 deletions

View File

@@ -137,7 +137,9 @@ class Logger : public Component {
va_end(arg);
}
#ifndef USE_HOST
const char *get_uart_selection_();
#endif
uint32_t baud_rate_;
char *tx_buffer_{nullptr};