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:
parent
d203e3820b
commit
03ef0fc58d
@ -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…
x
Reference in New Issue
Block a user