Fix chip/sam4l_clockconfig.c:923:20: error: unused function 'sam_enable_fastwakeup'
@@ -920,6 +920,8 @@ static inline void sam_setdividers(void)
*
****************************************************************************/
+#if BOARD_CPU_FREQUENCY > FLASH_MAXFREQ_PS1_HSDIS_FWS0 && \
+ BOARD_CPU_FREQUENCY <= FLASH_MAXFREQ_PS1_HSDIS_FWS1
static inline void sam_enable_fastwakeup(void)
{
uint32_t regval;
@@ -930,6 +932,7 @@ static inline void sam_enable_fastwakeup(void)
SAM_BPM_UNLOCK);
putreg32(regval, SAM_BPM_PMCON);
}
+#endif
/****************************************************************************
* Name: set_flash_waitstate
