diff options
author | edolomb <none@example.com> | 2018-03-28 12:24:35 +0000 |
---|---|---|
committer | edolomb <none@example.com> | 2018-03-28 12:24:35 +0000 |
commit | b51ea7d84e41c108a069fa7623cf5f9cf49ec472 (patch) | |
tree | dd80aeb05d8309d2753d10b7bd66fa02bb2c548e /os/hal | |
parent | 1c6dac69b6d8c2c30d02ff2f57b0e5650c01c761 (diff) | |
download | ChibiOS-b51ea7d84e41c108a069fa7623cf5f9cf49ec472.tar.gz ChibiOS-b51ea7d84e41c108a069fa7623cf5f9cf49ec472.tar.bz2 ChibiOS-b51ea7d84e41c108a069fa7623cf5f9cf49ec472.zip |
Fixed bug on SDMMC1's pin. PIOA_SDMMC1_CD was not configurated.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11860 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/boards/ATSAMA5D2_XULT/board.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/os/hal/boards/ATSAMA5D2_XULT/board.c b/os/hal/boards/ATSAMA5D2_XULT/board.c index 747f7c1d9..76ded417d 100644 --- a/os/hal/boards/ATSAMA5D2_XULT/board.c +++ b/os/hal/boards/ATSAMA5D2_XULT/board.c @@ -146,7 +146,8 @@ static const sama_pio_init_t sama_inits[] = { {SAMA_PIOA,
SAMA_PIN_N(PIOA_SDMMC1_CK) | SAMA_PIN_N(PIOA_SDMMC1_CMD) |
SAMA_PIN_N(PIOA_SDMMC1_DAT0) | SAMA_PIN_N(PIOA_SDMMC1_DAT1) |
- SAMA_PIN_N(PIOA_SDMMC1_DAT2) | SAMA_PIN_N(PIOA_SDMMC1_DAT3),
+ SAMA_PIN_N(PIOA_SDMMC1_DAT2) | SAMA_PIN_N(PIOA_SDMMC1_DAT3) |
+ SAMA_PIN_N(PIOA_SDMMC1_CD),
SAMA_PIO_FUNC_PERIPH_E | SAMA_PIO_DRVSTR_HI,
SAMA_PIO_HIGH},
/* list terminated*/
|