anchao commented on code in PR #17377: URL: https://github.com/apache/nuttx/pull/17377#discussion_r2559077779
########## include/nuttx/arch.h: ########## @@ -92,6 +92,12 @@ * Pre-processor definitions ****************************************************************************/ +#define IRQ_RISING_EDGE 0x00 +#define IRQ_FALLING_EDGE 0x01 +#define IRQ_BOTH_EDGE 0x02 +#define IRQ_HIGH_LEVEL 0x03 +#define IRQ_LOW_LEVEL 0x04 Review Comment: ```suggestion #define IRQ_EDGE_RISING 0x00 #define IRQ_EDGE_FALLING 0x01 #define IRQ_EDGE_BOTH 0x02 #define IRQ_LEVEL_HIGH 0x03 #define IRQ_LEVEL_LOW 0x04 ``` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
