Fix GPIOTE not calling ISR when button is held during boot#715
Fix GPIOTE not calling ISR when button is held during boot#715JF002 merged 3 commits intoInfiniTimeOrg:developfrom
Conversation
|
I wonder why the issue happened in the first place. If the events don't go through while the button is pressed, then why didn't releasing the button fix it? If the |
Do not fix it if ain't broken :) Maybe I could. But I guess there should be added a check for touch IRQ level in the GPIOTE ISR. So it triggers touch event reading only once and not on both IRQ gpio edges. What is your opinion? |
There is a small note in the nrf52832 datasheet saying that the pin should not be in a state that would trigger the event when enabling it: iirc I had this issue with the power detection too, and that's probably why I wrote 9ab298c. Your fix works fine for me, and it looks good to me, thanks ;) |

Should solve Issue #693
Also improved previous similar issue with power detection 9ab298c
I welcome testing and feedback