Skip to content

Commit 516ee7e

Browse files
JoseMorenoJyashi
authored andcommitted
wrong text in LOG_ERR message in usart_zephyr drivers
Just a minor typo in a LOG_ERR message. It says CONFIG_CSP_CAN_RX_THREAD_NUM when it should say CONFIG_CSP_UART_RX_THREAD_NUM.
1 parent 23d2a99 commit 516ee7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/drivers/usart/usart_zephyr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ int csp_usart_open(const csp_usart_conf_t * conf, csp_usart_callback_t rx_callba
9999
}
100100

101101
if (uart_rx_thread_idx >= CONFIG_CSP_UART_RX_THREAD_NUM) {
102-
LOG_ERR("%s: [%s] No more RX thread can be created. (MAX: %d) Please check CONFIG_CSP_CAN_RX_THREAD_NUM.", __func__, conf->device, CONFIG_CSP_UART_RX_THREAD_NUM);
102+
LOG_ERR("%s: [%s] No more RX thread can be created. (MAX: %d) Please check CONFIG_CSP_UART_RX_THREAD_NUM.", __func__, conf->device, CONFIG_CSP_UART_RX_THREAD_NUM);
103103
return CSP_ERR_DRIVER;
104104
}
105105

0 commit comments

Comments
 (0)