未验证 提交 f0ab0062 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #1755 from liu2guang/master

[bsp][rt1050] Fix the pin driver GCC build warning. | 修复pin驱动gcc编译警告.
......@@ -362,7 +362,7 @@ void GPIO5_Combined_0_15_IRQHandler(void)
static IRQn_Type rt1052_get_irqnum(GPIO_Type *gpio, rt_uint32_t gpio_pin)
{
IRQn_Type irq_num;
IRQn_Type irq_num = -100; /* Invalid interrupt number */
if(gpio == GPIO1)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册