|
@@ -4,9 +4,10 @@
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
*
|
|
|
* Change Logs:
|
|
|
- * Date Author Notes
|
|
|
- * 2022-06-29 Rbb666 first version
|
|
|
- * 2025-04-21 hydevcode modify xmc7100d uart
|
|
|
+ * 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:
|