mirror of
https://github.com/esphome/esphome.git
synced 2025-09-24 22:22:22 +01:00
dump config after logging CDC port is opened by host (#6169)
This commit is contained in:
@@ -56,7 +56,9 @@ enum UARTSelection {
|
||||
class Logger : public Component {
|
||||
public:
|
||||
explicit Logger(uint32_t baud_rate, size_t tx_buffer_size);
|
||||
|
||||
#ifdef USE_LOGGER_USB_CDC
|
||||
void loop() override;
|
||||
#endif
|
||||
/// 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_; }
|
||||
|
Reference in New Issue
Block a user