STM32 RTCC: Eliminate a warning when ALARM support is enabled
This commit is contained in:
parent
1839d132f0
commit
51df91e93d
@ -1086,7 +1086,6 @@ int up_rtc_settime(FAR const struct timespec *tp)
|
||||
#ifdef CONFIG_RTC_ALARM
|
||||
int stm32_rtc_setalarm(FAR const struct timespec *tp, alarmcb_t callback)
|
||||
{
|
||||
irqstate_t flags;
|
||||
int ret = -EBUSY;
|
||||
|
||||
/* Is there already something waiting on the ALARM? */
|
||||
|
Loading…
Reference in New Issue
Block a user