diff options
Diffstat (limited to 'boards')
-rw-r--r-- | boards/GENERIC_SPC560P/board.c | 2 | ||||
-rw-r--r-- | boards/GENERIC_SPC560P/board.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/boards/GENERIC_SPC560P/board.c b/boards/GENERIC_SPC560P/board.c index 9dece532c..b5e17a840 100644 --- a/boards/GENERIC_SPC560P/board.c +++ b/boards/GENERIC_SPC560P/board.c @@ -36,7 +36,7 @@ static const spc560p_siul_init_t spc560p_siul_init[] = { };
/* Initialization array for the PSMI registers.*/
-static const uint8_t spc560p_padsels_init[36] = {
+static const uint8_t spc560p_padsels_init[SPC5_SIUL_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
diff --git a/boards/GENERIC_SPC560P/board.h b/boards/GENERIC_SPC560P/board.h index 6cbc6213a..5d33620d8 100644 --- a/boards/GENERIC_SPC560P/board.h +++ b/boards/GENERIC_SPC560P/board.h @@ -35,7 +35,7 @@ * Board frequencies.
*/
#if !defined(SPC560P_XOSC_CLK)
-#define SPC560P_XOSC_CLK 40000000
+#define SPC5_XOSC_CLK 40000000
#endif
/*
|