From 211a79c0c9b8fd9d238112a2ac93369cc2bbcd20 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 1 Jan 2012 11:28:02 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3701 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- boards/ST_STM32F4_DISCOVERY/board.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boards/ST_STM32F4_DISCOVERY') 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) | \ -- cgit v1.2.3