We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b37d891 commit e3afae9Copy full SHA for e3afae9
drivers/serial/uart_async_to_irq.c
@@ -42,7 +42,7 @@ static const struct uart_async_to_irq_config *get_config(const struct device *de
42
/* Function calculates RX timeout based on baudrate. */
43
static uint32_t get_rx_timeout(const struct device *dev)
44
{
45
- struct uart_config cfg;
+ struct uart_config cfg = { 0 };
46
int err;
47
uint32_t baudrate;
48
0 commit comments