diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-07-08 15:10:27 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-07-08 15:10:27 +0000 |
commit | 5ff1c429f8fe1f530d4b19d5bacdd5c8cd2483b1 (patch) | |
tree | 4548f3748a1c82e82575572dc9d62fcab1915d5f /os | |
parent | 73ec5770c64fca4bc986a71c41ad8be6cae43b17 (diff) | |
download | ChibiOS-5ff1c429f8fe1f530d4b19d5bacdd5c8cd2483b1.tar.gz ChibiOS-5ff1c429f8fe1f530d4b19d5bacdd5c8cd2483b1.tar.bz2 ChibiOS-5ff1c429f8fe1f530d4b19d5bacdd5c8cd2483b1.zip |
More reports.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8070 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/boards/ST_EVB_SPC563M/board.c | 4 | ||||
-rw-r--r-- | os/hal/boards/ST_EVB_SPC564A/board.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/boards/ST_EVB_SPC563M/board.c b/os/hal/boards/ST_EVB_SPC563M/board.c index 93043146f..1b5a97ccc 100644 --- a/os/hal/boards/ST_EVB_SPC563M/board.c +++ b/os/hal/boards/ST_EVB_SPC563M/board.c @@ -19,8 +19,8 @@ #if HAL_USE_PAL || defined(__DOXYGEN__)
/* Initial setup of all defined pads, the list is terminated by a {-1, 0, 0}.*/
static const spc_siu_init_t spc_siu_init[] = {
- {PCR(PORT5, P5_ESCI_A_TX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
- {PCR(PORT5, P5_ESCI_A_RX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
+ {PCR(PORT5, P5_ESCI_A_TX), PAL_HIGH, PAL_MODE_INPUT_ALTERNATE_PRIMARY},
+ {PCR(PORT5, P5_ESCI_A_RX), PAL_HIGH, PAL_MODE_INPUT_ALTERNATE_PRIMARY},
{PCR(PORT11, P11_BUTTON1), PAL_LOW, PAL_MODE_INPUT},
{PCR(PORT11, P11_BUTTON2), PAL_LOW, PAL_MODE_INPUT},
{PCR(PORT11, P11_BUTTON3), PAL_LOW, PAL_MODE_INPUT},
diff --git a/os/hal/boards/ST_EVB_SPC564A/board.c b/os/hal/boards/ST_EVB_SPC564A/board.c index 6694593c8..02c97a0cc 100644 --- a/os/hal/boards/ST_EVB_SPC564A/board.c +++ b/os/hal/boards/ST_EVB_SPC564A/board.c @@ -19,8 +19,8 @@ #if HAL_USE_PAL || defined(__DOXYGEN__)
/* Initial setup of all defined pads, the list is terminated by a {-1, 0, 0}.*/
static const spc_siu_init_t spc_siu_init[] = {
- {PCR(PORT5, P5_ESCI_A_TX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
- {PCR(PORT5, P5_ESCI_A_RX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
+ {PCR(PORT5, P5_ESCI_A_TX), PAL_HIGH, PAL_MODE_INPUT_ALTERNATE_PRIMARY},
+ {PCR(PORT5, P5_ESCI_A_RX), PAL_HIGH, PAL_MODE_INPUT_ALTERNATE_PRIMARY},
{PCR(PORT11, P11_BUTTON1), PAL_LOW, PAL_MODE_INPUT},
{PCR(PORT11, P11_BUTTON2), PAL_LOW, PAL_MODE_INPUT},
{PCR(PORT11, P11_BUTTON3), PAL_LOW, PAL_MODE_INPUT},
|