aboutsummaryrefslogtreecommitdiffstats
path: root/boards/GENERIC_SPC560P/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'boards/GENERIC_SPC560P/board.c')
-rw-r--r--boards/GENERIC_SPC560P/board.c2
1 files changed, 1 insertions, 1 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