Closed Donkie closed 3 years ago
Thanks for spotting that. That does appear to be a misplaced parans. Also good catch on the INTCAP clearing.
Do you know how to run clang-format so the CI will pass?
Sorry for the delay, ran the formatter now @caternuson
Awesome. Thanks for the fixes!
A code bug seems to have snuck into line 225, causing it to read Port A's INTF register when it should've actually read Port B. Updated line 213 similarly for clarity.
Also, fixes so that if it were a Port B pin that triggered the interrupt, the appropriate INTCAP register will be read. Previously, only the Port A INTCAP register was always read.