diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-12-31 10:07:43 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-12-31 10:07:43 +0000 |
commit | c397738010966f85c7ae841e21d74790ac49611c (patch) | |
tree | 71fc62ea0e2f86481586f51dbe55ffe691b4b363 /boards/OLIMEX_SAM7_EX256 | |
parent | 72266f8b591c6e7857f4578ba753eeea7222ac6b (diff) | |
download | ChibiOS-c397738010966f85c7ae841e21d74790ac49611c.tar.gz ChibiOS-c397738010966f85c7ae841e21d74790ac49611c.tar.bz2 ChibiOS-c397738010966f85c7ae841e21d74790ac49611c.zip |
Changes to palSetGroupMode(), various adjustments to the PAL driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3695 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards/OLIMEX_SAM7_EX256')
-rw-r--r-- | boards/OLIMEX_SAM7_EX256/board.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/boards/OLIMEX_SAM7_EX256/board.c b/boards/OLIMEX_SAM7_EX256/board.c index 31f28d3a3..d1439d7f3 100644 --- a/boards/OLIMEX_SAM7_EX256/board.c +++ b/boards/OLIMEX_SAM7_EX256/board.c @@ -94,14 +94,16 @@ void boardInit(void) { palSetGroupMode(IOPORT1,
PIOA_B1_MASK | PIOA_B2_MASK | PIOA_B3_MASK |
PIOA_B4_MASK | PIOA_B5_MASK,
+ 0
PAL_MODE_INPUT);
- palSetGroupMode(IOPORT2, PIOB_SW1_MASK | PIOB_SW2_MASK, PAL_MODE_INPUT);
+ palSetGroupMode(IOPORT2, PIOB_SW1_MASK | PIOB_SW2_MASK, 0, PAL_MODE_INPUT);
/*
* MMC/SD slot setup.
*/
palSetGroupMode(IOPORT2,
PIOB_MMC_WP_MASK | PIOB_MMC_CP_MASK,
+ 0,
PAL_MODE_INPUT);
/*
|