STM32 F4 RTC, trivial changes

This commit is contained in:
Gregory Nutt 2016-06-02 07:58:13 -06:00
parent 692ea396e3
commit 82c73e206e

View File

@ -38,6 +38,8 @@
* Included Files
************************************************************************************/
#include <nuttx/config.h>
#include <stdbool.h>
#include <sched.h>
#include <time.h>
@ -216,9 +218,6 @@ static void rtc_dumpregs(FAR const char *msg)
rtclldbg(" ISR: %08x\n", getreg32(STM32_RTC_ISR));
rtclldbg(" PRER: %08x\n", getreg32(STM32_RTC_PRER));
rtclldbg(" WUTR: %08x\n", getreg32(STM32_RTC_WUTR));
#ifndef CONFIG_STM32_STM32F30XX
rtclldbg(" CALIBR: %08x\n", getreg32(STM32_RTC_CALIBR));
#endif
rtclldbg(" ALRMAR: %08x\n", getreg32(STM32_RTC_ALRMAR));
rtclldbg(" ALRMBR: %08x\n", getreg32(STM32_RTC_ALRMBR));
rtclldbg(" SHIFTR: %08x\n", getreg32(STM32_RTC_SHIFTR));