RTC: Fix some compile issues when RTC_ALARM is disabled
This commit is contained in:
parent
8a076d4c09
commit
b4fc040783
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user