v01d commented on a change in pull request #2240: URL: https://github.com/apache/incubator-nuttx/pull/2240#discussion_r519215478
########## File path: arch/arm/src/nrf52/hardware/nrf52_gpiote.h ########## @@ -67,7 +67,8 @@ #define GPIOTE_INT_IN_MASK (0xff << GPIOTE_INT_IN_SHIFT) # define GPIOTE_INT_IN(i) ((1 << (i + GPIOTE_INT_IN_SHIFT)) & GPIOTE_INT_IN_MASK) -#define GPIOTE_INT_PORT 31 /* Bit 31: Enable interrupt for event PORT */ +#define GPIOTE_INT_PORT_SHIFT 31 /* Bit 31: Enable interrupt for event PORT */ +#define GPIOTE_INT_PORT (1 << GPIOTE_INT_PORT_SHIFT) Review comment: this is a bug I fixed as part of this change ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org