diff options
Diffstat (limited to 'boards/GENERIC_SPC560P')
-rw-r--r-- | boards/GENERIC_SPC560P/board.c | 8 | ||||
-rw-r--r-- | boards/GENERIC_SPC560P/board.h | 2 |
2 files changed, 5 insertions, 5 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
diff --git a/boards/GENERIC_SPC560P/board.h b/boards/GENERIC_SPC560P/board.h index 60edcddec..48a49efc2 100644 --- a/boards/GENERIC_SPC560P/board.h +++ b/boards/GENERIC_SPC560P/board.h @@ -34,7 +34,7 @@ /*
* Board frequencies.
*/
-#if !defined(SPC560P_XOSC_CLK)
+#if !defined(SPC5_XOSC_CLK)
#define SPC5_XOSC_CLK 40000000
#endif
|