File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
ports/broadcom/common-hal/rtc Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 32
32
#include "shared/timeutils/timeutils.h"
33
33
#include "shared-bindings/rtc/__init__.h"
34
34
#include "shared-bindings/rtc/RTC.h"
35
- #include "common-hal/rtc/RTC.h"
36
35
#include "supervisor/port.h"
37
36
#include "supervisor/shared/translate/translate.h"
38
37
39
- void rtc_init (void ) {
40
- }
41
-
42
38
// This is the time in seconds since 2000 that the RTC was started.
43
39
// TODO: Change the offset to ticks so that it can be a subsecond adjustment.
44
40
static uint32_t rtc_offset = 0 ;
Original file line number Diff line number Diff line change 25
25
* THE SOFTWARE.
26
26
*/
27
27
28
- #ifndef MICROPY_INCLUDED_MIMXRT10XX_COMMON_HAL_RTC_RTC_H
29
- #define MICROPY_INCLUDED_MIMXRT10XX_COMMON_HAL_RTC_RTC_H
28
+ #ifndef MICROPY_INCLUDED_BROADCOM_COMMON_HAL_RTC_RTC_H
29
+ #define MICROPY_INCLUDED_BROADCOM_COMMON_HAL_RTC_RTC_H
30
30
31
- extern void rtc_init (void );
32
31
extern void rtc_reset (void );
33
32
34
- #endif // MICROPY_INCLUDED_MIMXRT10XX_COMMON_HAL_RTC_RTC_H
33
+ #endif // MICROPY_INCLUDED_BROADCOM_COMMON_HAL_RTC_RTC_H
You can’t perform that action at this time.
0 commit comments