diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-11-19 08:42:07 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-11-19 08:42:07 +0000 |
commit | 7fa885a2010dbb800cb56ddff2b110f647f77bff (patch) | |
tree | 43e9306b96a108dae7fcc9f8de9136db16b47337 /boards/GENERIC_SPC560P/board.c | |
parent | 1c2cc2538520784674139d069ba772c9370c8e36 (diff) | |
download | ChibiOS-7fa885a2010dbb800cb56ddff2b110f647f77bff.tar.gz ChibiOS-7fa885a2010dbb800cb56ddff2b110f647f77bff.tar.bz2 ChibiOS-7fa885a2010dbb800cb56ddff2b110f647f77bff.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4828 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards/GENERIC_SPC560P/board.c')
-rw-r--r-- | boards/GENERIC_SPC560P/board.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boards/GENERIC_SPC560P/board.c b/boards/GENERIC_SPC560P/board.c index 23154bf8d..caa317ec5 100644 --- a/boards/GENERIC_SPC560P/board.c +++ b/boards/GENERIC_SPC560P/board.c @@ -23,7 +23,7 @@ #if HAL_USE_PAL || defined(__DOXYGEN__)
/* Initial setup of all defined pads, the list is terminated by a {0, 0}.*/
-static const spc560p_siu_init_t spc560p_siu_init[] = {
+static const spc_siu_init_t spc_siu_init[] = {
{PCR(PB, PB_LIN0_TDX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
{PCR(PB, PB_LIN0_RDX), PAL_HIGH, PAL_MODE_INPUT},
{PCR(PD, PD_BUTTON1), PAL_LOW, PAL_MODE_INPUT},
@@ -38,7 +38,7 @@ static const spc560p_siu_init_t spc560p_siu_init[] = { };
/* Initialization array for the PSMI registers.*/
-static const uint8_t spc560p_padsels_init[SPC5_SIU_NUM_PADSELS] = {
+static const uint8_t spc_padsels_init[SPC5_SIU_NUM_PADSELS] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0
@@ -50,8 +50,8 @@ static const uint8_t spc560p_padsels_init[SPC5_SIU_NUM_PADSELS] = { const PALConfig pal_default_config =
{
PAL_MODE_UNCONNECTED, /* Default mode for all undefined pads. */
- spc560p_siu_init,
- spc560p_padsels_init
+ spc_siu_init,
+ spc_padsels_init
};
#endif
|