Skip to content

bsp: Infineon: Update drv_uart.c #10260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions bsp/Infineon/libraries/HAL_Drivers/drv_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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:
Expand Down
Loading