From 8292b54314d3df346cd5569918273c3a7eecadf5 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 21 Aug 2012 08:53:27 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4600 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- boards/OLIMEX_STM32_P407/board.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boards') diff --git a/boards/OLIMEX_STM32_P407/board.h b/boards/OLIMEX_STM32_P407/board.h index c8feea3cb..9fbec6d36 100644 --- a/boards/OLIMEX_STM32_P407/board.h +++ b/boards/OLIMEX_STM32_P407/board.h @@ -242,7 +242,7 @@ #define VAL_GPIOA_OSPEEDR 0xFFFFFFFF #define VAL_GPIOA_PUPDR (PIN_PUDR_PULLUP(GPIOA_DCMI_HSYNC) | \ PIN_PUDR_PULLUP(GPIOA_DCMI_PIXCLK) | \ - PIN_PUDR_PULLUP(GPIOA_OTG_FS_VBUS) | \ + PIN_PUDR_PULLDOWN(GPIOA_OTG_FS_VBUS) | \ PIN_PUDR_PULLUP(GPIOA_DCMI_D1) | \ PIN_PUDR_PULLDOWN(GPIOA_SWCLK)) #define VAL_GPIOA_ODR 0xFFFFFFDF @@ -296,7 +296,7 @@ #define VAL_GPIOB_OSPEEDR 0xFFFFFFFF #define VAL_GPIOB_PUPDR (PIN_PUDR_PULLUP(GPIOB_DCMI_D5) | \ PIN_PUDR_PULLUP(GPIOB_DCMI_VSYNC) | \ - PIN_PUDR_PULLUP(GPIOB_OTG_HS_VBUS)) + PIN_PUDR_PULLDOWN(GPIOB_OTG_HS_VBUS)) #define VAL_GPIOB_ODR 0xFFFFFFFC #define VAL_GPIOB_AFRL (PIN_AFIO_AF(GPIOB_I2S3_CK, 6) | \ PIN_AFIO_AF(GPIOB_I2S3_SD, 6)) -- cgit v1.2.3