From f846fa109ea20e74983fba7b7662f2bae9cc8fea Mon Sep 17 00:00:00 2001 From: Nick Moore Date: Thu, 7 Feb 2019 23:50:14 +1100 Subject: enable NRFX RTC adafruit/circuitpython#1046 --- shared-bindings/rtc/RTC.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shared-bindings/rtc') diff --git a/shared-bindings/rtc/RTC.c b/shared-bindings/rtc/RTC.c index 474d4a399..97265d601 100644 --- a/shared-bindings/rtc/RTC.c +++ b/shared-bindings/rtc/RTC.c @@ -36,6 +36,7 @@ #include "shared-bindings/time/__init__.h" #include "supervisor/shared/translate.h" +/* void MP_WEAK common_hal_rtc_get_time(timeutils_struct_time_t *tm) { mp_raise_NotImplementedError(translate("RTC is not supported on this board")); } @@ -51,6 +52,7 @@ int MP_WEAK common_hal_rtc_get_calibration(void) { void MP_WEAK common_hal_rtc_set_calibration(int calibration) { mp_raise_NotImplementedError(translate("RTC calibration is not supported on this board")); } +*/ const rtc_rtc_obj_t rtc_rtc_obj = {{&rtc_rtc_type}}; -- cgit v1.2.3