summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorNick Moore <nick@zoic.org>2019-02-07 23:50:14 +1100
committerNick Moore <nick@zoic.org>2019-03-28 09:50:09 +1100
commitb09d2c3c625340476aad6f8ce7be1f6426ff2594 (patch)
treef5fc0772ba0a30c6ffc3916f0207ed8c85c194fc /shared-bindings
parent69cf33e6a11e16433c16845cbf90a6b4748ad200 (diff)
enable NRFX RTC adafruit/circuitpython#1046
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/rtc/RTC.c2
1 files changed, 2 insertions, 0 deletions
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}};