mirror of
https://github.com/esphome/esphome.git
synced 2025-07-28 06:06:33 +00:00
[uart] fix: missing uart_config_t struct initialisation (#9235)
This commit is contained in:
parent
21e1f3d103
commit
921d0888cd
@ -42,7 +42,7 @@ uart_config_t IDFUARTComponent::get_config_() {
|
||||
break;
|
||||
}
|
||||
|
||||
uart_config_t uart_config;
|
||||
uart_config_t uart_config{};
|
||||
uart_config.baud_rate = this->baud_rate_;
|
||||
uart_config.data_bits = data_bits;
|
||||
uart_config.parity = parity;
|
||||
|
Loading…
x
Reference in New Issue
Block a user