bsps: Fix redefine warning

This commit is contained in:
Chris Johns
2018-01-15 07:22:29 +01:00
committed by Sebastian Huber
parent 3f5d4e959f
commit 5b94266e66
+1
View File
@@ -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