mirror of https://github.com/RT-Thread/rt-thread
Update drv_uart.c
This commit is contained in:
parent
cb1a58cf37
commit
1afed1b782
|
@ -7,6 +7,7 @@
|
|||
* Date Author Notes
|
||||
* 2022-06-29 Rbb666 first version
|
||||
* 2025-04-21 hydevcode modify xmc7100d uart
|
||||
* 2025-05-12 Passionate0424 update ifx_control
|
||||
*/
|
||||
|
||||
#include <rtthread.h>
|
||||
|
@ -217,7 +218,7 @@ static rt_err_t ifx_control(struct rt_serial_device *serial, int cmd, void *arg)
|
|||
switch (cmd)
|
||||
{
|
||||
case RT_DEVICE_CTRL_CLR_INT:
|
||||
|
||||
NVIC_DisableIRQ(uart->config->UART_SCB_IRQ_cfg->intrSrc);
|
||||
break;
|
||||
|
||||
case RT_DEVICE_CTRL_SET_INT:
|
||||
|
|
Loading…
Reference in New Issue