File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 33
33
34
34
#include "sched/sched.h"
35
35
36
- #include "supervisor/board .h"
36
+ #include "shared-bindings/rtc/__init__ .h"
37
37
38
+ #include "supervisor/board.h"
38
39
#include "supervisor/port.h"
39
40
#include "supervisor/background_callback.h"
40
41
#include "supervisor/usb.h"
@@ -90,6 +91,9 @@ void reset_port(void) {
90
91
#if CIRCUITPY_BUSIO
91
92
busio_uart_reset ();
92
93
#endif
94
+ #if CIRCUITPY_RTC
95
+ rtc_reset ();
96
+ #endif
93
97
94
98
reset_all_pins ();
95
99
}
Original file line number Diff line number Diff line change 27
27
#ifndef MICROPY_INCLUDED_SHARED_BINDINGS_RTC___INIT___H
28
28
#define MICROPY_INCLUDED_SHARED_BINDINGS_RTC___INIT___H
29
29
30
+ #include "py/obj.h"
31
+
30
32
extern void rtc_reset (void );
31
33
extern mp_obj_t rtc_get_time_source_time (void );
32
34
You can’t perform that action at this time.
0 commit comments