8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7144696 commit 1ef7c73Copy full SHA for 1ef7c73
nrf5/modules/machine/modmachine.c
@@ -49,7 +49,9 @@
49
#if MICROPY_PY_MACHINE_TEMP
50
#include "temp.h"
51
#endif
52
-
+#if MICROPY_PY_MACHINE_RTC
53
+#include "rtc.h"
54
+#endif
55
56
#define PYB_RESET_HARD (0)
57
#define PYB_RESET_WDT (1)
@@ -181,6 +183,9 @@ STATIC const mp_map_elem_t machine_module_globals_table[] = {
181
183
#if MICROPY_PY_MACHINE_ADC
182
184
{ MP_OBJ_NEW_QSTR(MP_QSTR_ADC), (mp_obj_t)&machine_adc_type },
185
186
187
+ { MP_OBJ_NEW_QSTR(MP_QSTR_RTC), (mp_obj_t)&machine_rtc_type },
188
189
#if MICROPY_PY_MACHINE_PWM
190
{ MP_OBJ_NEW_QSTR(MP_QSTR_PWM), (mp_obj_t)&machine_hard_pwm_type },
191
0 commit comments