diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-01-01 11:28:02 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-01-01 11:28:02 +0000 |
commit | 211a79c0c9b8fd9d238112a2ac93369cc2bbcd20 (patch) | |
tree | 07c61330fd5cade38efa19a143dca43128ac1f37 | |
parent | 51ec1f0e1e435b9dd81e7f057b3273a4fdbda9a7 (diff) | |
download | ChibiOS-211a79c0c9b8fd9d238112a2ac93369cc2bbcd20.tar.gz ChibiOS-211a79c0c9b8fd9d238112a2ac93369cc2bbcd20.tar.bz2 ChibiOS-211a79c0c9b8fd9d238112a2ac93369cc2bbcd20.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3701 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | boards/ST_STM32F4_DISCOVERY/board.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boards/ST_STM32F4_DISCOVERY/board.h b/boards/ST_STM32F4_DISCOVERY/board.h index 6a7eb49d6..e9a172444 100644 --- a/boards/ST_STM32F4_DISCOVERY/board.h +++ b/boards/ST_STM32F4_DISCOVERY/board.h @@ -321,7 +321,7 @@ #define VAL_GPIOE_MODER (PIN_MODE_INPUT(GPIOE_INT1) | \
PIN_MODE_INPUT(GPIOE_INT2) | \
PIN_MODE_INPUT(2) | \
- PIN_MODE_INPUT(GPIOE_CS_SPI) | \
+ PIN_MODE_OUTPUT(GPIOE_CS_SPI) | \
PIN_MODE_INPUT(4) | \
PIN_MODE_INPUT(5) | \
PIN_MODE_INPUT(6) | \
@@ -336,7 +336,7 @@ PIN_MODE_INPUT(15))
#define VAL_GPIOE_OTYPER 0x00000000
#define VAL_GPIOE_OSPEEDR 0xFFFFFFFF
-#define VAL_GPIOE_PUPDR (PIN_PUDR_FLOATING(GPIOE_INT1) | \
+#define VAL_GPIOE_PUPDR (PIN_PUDR_FLOATING(GPIOE_INT1) | \
PIN_PUDR_FLOATING(GPIOE_INT2) | \
PIN_PUDR_PULLUP(2) | \
PIN_PUDR_FLOATING(GPIOE_CS_SPI) | \
|