aboutsummaryrefslogtreecommitdiffstats
path: root/boards
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-27 08:41:07 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-27 08:41:07 +0000
commit18d9d80ae87104cbcea7449928142dad580cbd67 (patch)
tree6ff8a97d84ffe6030b6480921f9ff4c0fa5d247c /boards
parenta8f264a8188aa0a3995f762ce0742bfd3521f574 (diff)
downloadChibiOS-18d9d80ae87104cbcea7449928142dad580cbd67.tar.gz
ChibiOS-18d9d80ae87104cbcea7449928142dad580cbd67.tar.bz2
ChibiOS-18d9d80ae87104cbcea7449928142dad580cbd67.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4714 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards')
-rw-r--r--boards/GENERIC_SPC560P/board.c2
-rw-r--r--boards/GENERIC_SPC560P/board.h2
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
/*