aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/SAM4L/hal_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-05 19:25:36 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-05 19:25:36 +0000
commitcc3cf07897dbd9f4fc27c6117c88fb7cbf85b1a6 (patch)
tree1dfb1ac75f815294d1f5f6b780c7b96227d23eb2 /os/hal/platforms/SAM4L/hal_lld.c
parent9d3e7a8fbca5679379f6bc713ed8dc1d8e880589 (diff)
downloadChibiOS-cc3cf07897dbd9f4fc27c6117c88fb7cbf85b1a6.tar.gz
ChibiOS-cc3cf07897dbd9f4fc27c6117c88fb7cbf85b1a6.tar.bz2
ChibiOS-cc3cf07897dbd9f4fc27c6117c88fb7cbf85b1a6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4878 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/SAM4L/hal_lld.c')
-rw-r--r--os/hal/platforms/SAM4L/hal_lld.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/platforms/SAM4L/hal_lld.c b/os/hal/platforms/SAM4L/hal_lld.c
index fbbaebcf8..745da4686 100644
--- a/os/hal/platforms/SAM4L/hal_lld.c
+++ b/os/hal/platforms/SAM4L/hal_lld.c
@@ -55,6 +55,7 @@
void sam4l_clock_init(void) {
+#if SAM_NO_INIT
#if SAM_USE_PICOCACHE
/* Enable the PicoCache.*/
sysclk_enable_peripheral_clock(HCACHE);
@@ -63,6 +64,7 @@ void sam4l_clock_init(void) {
;
#endif
+#endif /* SAM_NO_INIT */
}
/**