mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +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)
|
||||
{
|
||||
FAR struct alm_cbinfo_s *cbinfo;
|
||||
@@ -684,6 +685,7 @@ static int stm32_rtc_alarm_handler(int irq, void *context)
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
* Name: rtchw_check_alrXwf X= a or B
|
||||
|
||||
Reference in New Issue
Block a user