aboutsummaryrefslogtreecommitdiffstats
path: root/boards/ST_STM32F4_DISCOVERY/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'boards/ST_STM32F4_DISCOVERY/board.h')
-rw-r--r--boards/ST_STM32F4_DISCOVERY/board.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/boards/ST_STM32F4_DISCOVERY/board.h b/boards/ST_STM32F4_DISCOVERY/board.h
index cd1b64552..227f96ce9 100644
--- a/boards/ST_STM32F4_DISCOVERY/board.h
+++ b/boards/ST_STM32F4_DISCOVERY/board.h
@@ -289,10 +289,10 @@
PIN_MODE_INPUT(9) | \
PIN_MODE_INPUT(10) | \
PIN_MODE_INPUT(11) | \
- PIN_MODE_INPUT(GPIOD_LED4) | \
- PIN_MODE_INPUT(GPIOD_LED3) | \
- PIN_MODE_INPUT(GPIOD_LED5) | \
- PIN_MODE_INPUT(GPIOD_LED6))
+ PIN_MODE_OUTPUT(GPIOD_LED4) | \
+ PIN_MODE_OUTPUT(GPIOD_LED3) | \
+ PIN_MODE_OUTPUT(GPIOD_LED5) | \
+ PIN_MODE_OUTPUT(GPIOD_LED6))
#define VAL_GPIOD_OTYPER 0x00000000
#define VAL_GPIOD_OSPEEDR 0xFFFFFFFF
#define VAL_GPIOD_PUPDR (PIN_PUDR_PULLUP(0) | \
@@ -311,7 +311,7 @@
PIN_PUDR_FLOATING(GPIOD_LED3) | \
PIN_PUDR_FLOATING(GPIOD_LED5) | \
PIN_PUDR_FLOATING(GPIOD_LED6))
-#define VAL_GPIOD_ODR 0x0FFFFFCF
+#define VAL_GPIOD_ODR 0x00000FCF
#define VAL_GPIOD_AFRL 0x00000000
#define VAL_GPIOD_AFRH 0x00000000