RTC: Fix some compile issues when RTC_ALARM is disabled

This commit is contained in:
Gregory Nutt 2016-04-04 09:24:06 -06:00
parent 8a076d4c09
commit b4fc040783

View File

@ -621,6 +621,7 @@ static void rtc_resume(void)
* *
************************************************************************************/ ************************************************************************************/
#ifdef CONFIG_RTC_ALARM
static int stm32_rtc_alarm_handler(int irq, void *context) static int stm32_rtc_alarm_handler(int irq, void *context)
{ {
FAR struct alm_cbinfo_s *cbinfo; FAR struct alm_cbinfo_s *cbinfo;
@ -684,6 +685,7 @@ static int stm32_rtc_alarm_handler(int irq, void *context)
return ret; return ret;
} }
#endif
/************************************************************************************ /************************************************************************************
* Name: rtchw_check_alrXwf X= a or B * Name: rtchw_check_alrXwf X= a or B