mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
STM32 RTCC: Eliminate a warning when ALARM support is enabled
This commit is contained in:
@@ -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? */
|
||||
|
||||
Reference in New Issue
Block a user