Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: gpio_mcux_igpio: fix code disabling the interrupt
When disabling the interrupt current implementation of the gpio_pin_interrupt_configure function will first reconfigure the interrupt to be active on gpio low level. Since the pin interrupt is enabled if the gpio pin level happens to be low at the time the interrupt will trigger immediately. Rewrite the function to disable the interrupt in a safe manner. Signed-off-by: Frank Li <lgl88911@163.com>
- Loading branch information