mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
RTC: Fix some compile issues when RTC_ALARM is disabled
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user