aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/SAM4L/hal_lld.c
diff options
context:
space:
mode:
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 */
}
/**