diff options
Diffstat (limited to 'firmware/export/pp5024.h')
-rw-r--r-- | firmware/export/pp5024.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/export/pp5024.h b/firmware/export/pp5024.h index 59c003613b..e7758b9ce5 100644 --- a/firmware/export/pp5024.h +++ b/firmware/export/pp5024.h | |||
@@ -24,9 +24,13 @@ | |||
24 | #include "pp5020.h" | 24 | #include "pp5020.h" |
25 | 25 | ||
26 | #undef GPIO_IRQ | 26 | #undef GPIO_IRQ |
27 | #define GPIO_IRQ (32+1) | 27 | /* Ports A, ?? */ |
28 | #define GPIO0_IRQ (32+0) | ||
29 | /* Ports F, H, ?? */ | ||
30 | #define GPIO1_IRQ (32+1) | ||
28 | 31 | ||
29 | #undef GPIO_MASK | 32 | #undef GPIO_MASK |
30 | #define GPIO_MASK (1 << (GPIO_IRQ-32)) | 33 | #define GPIO0_MASK (1 << (GPIO0_IRQ-32)) |
34 | #define GPIO1_MASK (1 << (GPIO1_IRQ-32)) | ||
31 | 35 | ||
32 | #endif | 36 | #endif |