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 GitHub
parent 29fb2a5360
commit 1d37edb63c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,7 +134,7 @@ class UARTComponent {
* *
* This will load the current UART interface with the latest settings (baud_rate, parity, etc). * 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. * 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). * 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 #endif // USE_ESP32
#ifdef USE_UART_DEBUGGER #ifdef USE_UART_DEBUGGER