GPIO_InitStruct.Pin = PIN_STPIN(pin); @@ -438,6 +437,7 @@ static rt_err_t stm32_pin_irq_enable(struct rt_device *device, rt_base_t pin, GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING_FALLING; break; } HAL_GPIO_Init(PIN_STPORT(pin), &GPIO_InitStruct);HAL...
RT-Thread is an open source IoT Real-Time Operating System (RTOS). - move `GPIO_InitStruct` variable inside to `PIN_IRQ_ENABLE` · RT-Thread/rt-thread@e0db6f7
RT-Thread is an open source IoT Real-Time Operating System (RTOS). - move `GPIO_InitStruct` variable inside to `PIN_IRQ_ENABLE` · RT-Thread/rt-thread@e0db6f7