mirror of
https://github.com/apache/nuttx.git
synced 2026-09-12 13:40:14 +00:00
STM32 F4 RTC, trivial changes
This commit is contained in:
parent
692ea396e3
commit
82c73e206e
1 changed files with 2 additions and 3 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue