Skip to content

Conversation

@olivluca
Copy link
Contributor

The CHANGE implementation used the wrong logic (using gpioMode instead of irqMode to switch the interrupt edge).
It also changes the edge after calling the isr instead of before (to avoid signal changes while servicing the isr, though that would be bad anyway).
It also sets the initial edge based on the current level of the pin.

@kuba2k2 kuba2k2 merged commit 41819f2 into libretiny-eu:master Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants