File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 14
14
*/
15
15
16
16
#include < STM32RTC.h>
17
- #include < time.h>
18
17
19
18
/* Get the rtc object */
20
19
STM32RTC& rtc = STM32RTC::getInstance();
@@ -63,4 +62,4 @@ void print2digits(uint32_t number) {
63
62
Serial.print (" 0" );
64
63
}
65
64
Serial.print (number);
66
- }
65
+ }
Original file line number Diff line number Diff line change 33
33
*
34
34
******************************************************************************
35
35
*/
36
-
37
- #include < time.h>
38
-
39
36
#include " STM32RTC.h"
40
37
41
38
#define EPOCH_TIME_OFF 946684800 // This is 1st January 2000, 00:00:00 in epoch time
Original file line number Diff line number Diff line change 46
46
#ifndef HAL_RTC_MODULE_ENABLED
47
47
#error "RTC configuration is missing. Check flag HAL_RTC_MODULE_ENABLED in variants/board_name/stm32yzxx_hal_conf.h"
48
48
#endif
49
+ #include < time.h>
49
50
50
51
/* *
51
52
* @brief STM32 RTC library version number
You can’t perform that action at this time.
0 commit comments