1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 11:22:24 +01:00

[uart] fix: missing uart_config_t struct initialisation (#9235)

This commit is contained in:
Rezoran
2025-06-29 17:05:23 +02:00
committed by Jesse Hills
parent 50b7349fe0
commit 90f9ab0d3e

View File

@@ -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;