4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-21 03:57:09 +08:00

[bsp][rt1050] Fix the pin driver GCC build warning. | 修复pin驱动gcc编译警告.

This commit is contained in:
流光 2018-08-31 14:46:23 +08:00
parent d203e3820b
commit 03ef0fc58d

View File

@ -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)
{