Exposes load_settings to UARTComponent class (#5920)

This commit is contained in:
Edward Firmo
2023-12-13 23:45:08 +01:00
committed by GitHub
parent 9a8bc9484d
commit 81aa48a5f3
3 changed files with 8 additions and 2 deletions
@@ -38,7 +38,8 @@ class IDFUARTComponent : public UARTComponent, public Component {
*
* This will load the current UART interface with the latest settings (baud_rate, parity, etc).
*/
void load_settings(bool dump_config = true);
void load_settings(bool dump_config) override;
void load_settings() override { this->load_settings(true); }
protected:
void check_logger_conflict() override;