summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-03-29 16:41:29 -0400
committerGitHub <noreply@github.com>2019-03-29 16:41:29 -0400
commit0653bca3239e9e00ad744523188f181b315d479f (patch)
tree1d6154931764b9dba5588d4a9c67547253b27c0f /shared-bindings
parentaca74a5394a25ed5cd80bcb7d5050383681304c8 (diff)
Revert "Circuitpython nickzoic 1046 nrf rtc"
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/rtc/RTC.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shared-bindings/rtc/RTC.c b/shared-bindings/rtc/RTC.c
index d9153781e..474d4a399 100644
--- a/shared-bindings/rtc/RTC.c
+++ b/shared-bindings/rtc/RTC.c
@@ -41,7 +41,7 @@ void MP_WEAK common_hal_rtc_get_time(timeutils_struct_time_t *tm) {
}
void MP_WEAK common_hal_rtc_set_time(timeutils_struct_time_t *tm) {
- mp_raise_NotImplementedError(translate("RTC set is not supported on this board"));
+ mp_raise_NotImplementedError(translate("RTC is not supported on this board"));
}
int MP_WEAK common_hal_rtc_get_calibration(void) {
@@ -52,7 +52,6 @@ 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}};
//| .. currentmodule:: rtc