Revert pure virtual functions in UART component from #5920 (#5932)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Jean Louis-Guerin 2023-12-18 01:03:01 +01:00 committed by Jesse Hills
parent d0df73769d
commit eefa1cd3ab
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

View file

@ -134,7 +134,7 @@ class UARTComponent {
*
* This will load the current UART interface with the latest settings (baud_rate, parity, etc).
*/
virtual void load_settings(bool dump_config) = 0;
virtual void load_settings(bool dump_config){};
/**
* Load the UART settings.
@ -146,7 +146,7 @@ class UARTComponent {
*
* This will load the current UART interface with the latest settings (baud_rate, parity, etc).
*/
virtual void load_settings() = 0;
virtual void load_settings(){};
#endif // USE_ESP32
#ifdef USE_UART_DEBUGGER