summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3210e-eval
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-13 08:41:34 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-13 08:41:34 -0600
commitb3260ea37bc255d781477bec9e8706205fd9b46f (patch)
treef7f08a435279bdf39ad510f5cc0df742bfc0e8ef /nuttx/configs/stm3210e-eval
parentdca2ea2ae29ea5eed3353a7f9bc1e8137f03978a (diff)
downloadpx4-nuttx-b3260ea37bc255d781477bec9e8706205fd9b46f.tar.gz
px4-nuttx-b3260ea37bc255d781477bec9e8706205fd9b46f.tar.bz2
px4-nuttx-b3260ea37bc255d781477bec9e8706205fd9b46f.zip
RTC: Remove all backdoor interfaces from rtc.h
Diffstat (limited to 'nuttx/configs/stm3210e-eval')
-rw-r--r--nuttx/configs/stm3210e-eval/src/stm32_idle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/stm3210e-eval/src/stm32_idle.c b/nuttx/configs/stm3210e-eval/src/stm32_idle.c
index 84d6032cd..045b101c6 100644
--- a/nuttx/configs/stm3210e-eval/src/stm32_idle.c
+++ b/nuttx/configs/stm3210e-eval/src/stm32_idle.c
@@ -45,7 +45,6 @@
#include <nuttx/arch.h>
#include <nuttx/clock.h>
#include <nuttx/power/pm.h>
-#include <nuttx/rtc.h>
#include <arch/irq.h>
@@ -55,6 +54,7 @@
#include "stm32_pm.h"
#include "stm32_rcc.h"
#include "stm32_exti.h"
+#include "stm32_rtc.h"
#include "stm3210e-eval.h"
@@ -226,7 +226,7 @@ static int stm32_rtc_alarm(time_t tv_sec, time_t tv_nsec, bool exti)
/* Set the alarm */
g_alarmwakeup = false;
- ret = up_rtc_setalarm(&alarmtime, stm32_alarmcb);
+ ret = stm32_rtc_setalarm(&alarmtime, stm32_alarmcb);
if (ret < 0)
{
lldbg("Warning: The alarm is already set\n");
@@ -363,7 +363,7 @@ static void stm32_idlepm(void)
#ifdef CONFIG_RTC_ALARM
stm32_exti_cancel();
- ret = up_rtc_cancelalarm();
+ ret = stm32_rtc_cancelalarm();
if (ret < 0)
{
lldbg("Warning: Cancel alarm failed\n");