Skip to content

Commit 1afed1b

Browse files
Passionate0424Rbb666
authored andcommitted
Update drv_uart.c
1 parent cb1a58c commit 1afed1b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

bsp/Infineon/libraries/HAL_Drivers/drv_uart.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*
66
* Change Logs:
7-
* Date Author Notes
8-
* 2022-06-29 Rbb666 first version
9-
* 2025-04-21 hydevcode modify xmc7100d uart
7+
* Date Author Notes
8+
* 2022-06-29 Rbb666 first version
9+
* 2025-04-21 hydevcode modify xmc7100d uart
10+
* 2025-05-12 Passionate0424 update ifx_control
1011
*/
1112

1213
#include <rtthread.h>
@@ -217,7 +218,7 @@ static rt_err_t ifx_control(struct rt_serial_device *serial, int cmd, void *arg)
217218
switch (cmd)
218219
{
219220
case RT_DEVICE_CTRL_CLR_INT:
220-
221+
NVIC_DisableIRQ(uart->config->UART_SCB_IRQ_cfg->intrSrc);
221222
break;
222223

223224
case RT_DEVICE_CTRL_SET_INT:

0 commit comments

Comments
 (0)