mirror of
https://github.com/esphome/esphome.git
synced 2025-09-25 14:42:21 +01:00
Warn when UART and logger operating on same bus (#803)
This commit is contained in:
@@ -31,6 +31,7 @@ class Logger : public Component {
|
||||
|
||||
/// Manually set the baud rate for serial, set to 0 to disable.
|
||||
void set_baud_rate(uint32_t baud_rate);
|
||||
uint32_t get_baud_rate() const { return baud_rate_; }
|
||||
|
||||
/// Get the UART used by the logger.
|
||||
UARTSelection get_uart() const;
|
||||
|
Reference in New Issue
Block a user