forked from Imagelibrary/rtems
bsps: Fix redefine warning
This commit is contained in:
committed by
Sebastian Huber
parent
3f5d4e959f
commit
5b94266e66
@@ -42,6 +42,7 @@ extern "C" {
|
||||
#define GPIO_BANK_COUNT (BSP_GPIO_PIN_COUNT / BSP_GPIO_PINS_PER_BANK) + 1
|
||||
#else
|
||||
#define GPIO_BANK_COUNT BSP_GPIO_PIN_COUNT / BSP_GPIO_PINS_PER_BANK
|
||||
#undef GPIO_LAST_BANK_PINS
|
||||
#define GPIO_LAST_BANK_PINS BSP_GPIO_PINS_PER_BANK
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user