Merge pull request #1755 from liu2guang/master

[bsp][rt1050] Fix the pin driver GCC build warning. | 修复pin驱动gcc编译警告.
This commit is contained in:
Bernard Xiong 2018-09-01 09:11:55 +08:00 committed by GitHub
commit f0ab00621a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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