Custom board.h. Minor fixes.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4218 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
barthess 2012-05-19 15:40:12 +00:00
parent ec65999d9b
commit 73a2000ab2
1 changed files with 3 additions and 3 deletions

View File

@ -430,7 +430,7 @@
PIN_MODE_INPUT(GPIOE_MMA8451_INT2)) PIN_MODE_INPUT(GPIOE_MMA8451_INT2))
/* 0x00000000 */ /* 0x00000000 */
#define VAL_GPIOE_OTYPER (PIN_OTYPE_PUSHPULL(GPIOE_XBEE_SLEEP) | \ #define VAL_GPIOE_OTYPER (PIN_OTYPE_PUSHPULL(GPIOE_XBEE_SLEEP) | \
PIN_OTYPE_OPENDRAIN(GPIOE_XBEE_RESET) | \ PIN_OTYPE_PUSHPULL(GPIOE_XBEE_RESET) | \
PIN_OTYPE_PUSHPULL(GPIOE_USB_DISCOVERY) | \ PIN_OTYPE_PUSHPULL(GPIOE_USB_DISCOVERY) | \
PIN_OTYPE_OPENDRAIN(GPIOE_GPS_PWR_EN) | \ PIN_OTYPE_OPENDRAIN(GPIOE_GPS_PWR_EN) | \
PIN_OTYPE_PUSHPULL(GPIOE_PWM5) | \ PIN_OTYPE_PUSHPULL(GPIOE_PWM5) | \
@ -442,7 +442,7 @@
/* 0x00000000 */ /* 0x00000000 */
#define VAL_GPIOE_PUPDR (PIN_PUDR_PULLDOWN(GPIOE_GPS_PPS) | \ #define VAL_GPIOE_PUPDR (PIN_PUDR_PULLDOWN(GPIOE_GPS_PPS) | \
PIN_PUDR_PULLUP(GPIOE_XBEE_SLEEP) | \ PIN_PUDR_PULLUP(GPIOE_XBEE_SLEEP) | \
PIN_PUDR_PULLUP(GPIOE_XBEE_RESET) | \ PIN_PUDR_FLOATING(GPIOE_XBEE_RESET) | \
PIN_PUDR_PULLUP(GPIOE_SDIO_DETECT) | \ PIN_PUDR_PULLUP(GPIOE_SDIO_DETECT) | \
PIN_PUDR_FLOATING(GPIOE_USB_DISCOVERY) | \ PIN_PUDR_FLOATING(GPIOE_USB_DISCOVERY) | \
PIN_PUDR_FLOATING(GPIOE_GPS_PWR_EN) | \ PIN_PUDR_FLOATING(GPIOE_GPS_PWR_EN) | \