Merge pull request #1755 from liu2guang/master
[bsp][rt1050] Fix the pin driver GCC build warning. | 修复pin驱动gcc编译警告.
This commit is contained in:
commit
f0ab00621a
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue