Support advanced UART customization (#4465)

* Add methods to get hardware uart details.

* Fix `setRxBufferSize` error.

---------

Co-authored-by: Your Name <you@example.com>
This commit is contained in:
Fabian
2023-03-31 06:30:24 +02:00
committed by GitHub
parent 79f861f012
commit 9922eb83e2
5 changed files with 17 additions and 2 deletions
@@ -28,6 +28,9 @@ class ESP32ArduinoUARTComponent : public UARTComponent, public Component {
uint32_t get_config();
HardwareSerial *get_hw_serial() { return this->hw_serial_; }
uint8_t get_hw_serial_number() { return this->number_; }
protected:
void check_logger_conflict() override;