summaryrefslogtreecommitdiff
path: root/shared-bindings/rtc
diff options
context:
space:
mode:
authorNick Moore <nick@zoic.org>2019-04-02 13:23:55 +1100
committerNick Moore <nick@zoic.org>2019-04-02 13:33:22 +1100
commit781d301bb6da7386bb735fc23637e4127b080072 (patch)
tree205d4c5856b2c4798f689484e4fa693ca7a7ec9e /shared-bindings/rtc
parent92095eb6664e1dc585b89557a33e19801f7c0375 (diff)
Remove unnecessary MP_WEAK declarations
Diffstat (limited to 'shared-bindings/rtc')
-rw-r--r--shared-bindings/rtc/RTC.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/shared-bindings/rtc/RTC.c b/shared-bindings/rtc/RTC.c
index 97265d601..17dccdb03 100644
--- a/shared-bindings/rtc/RTC.c
+++ b/shared-bindings/rtc/RTC.c
@@ -36,24 +36,6 @@
#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"));
-}
-
-void MP_WEAK common_hal_rtc_set_time(timeutils_struct_time_t *tm) {
- mp_raise_NotImplementedError(translate("RTC is not supported on this board"));
-}
-
-int MP_WEAK common_hal_rtc_get_calibration(void) {
- return 0;
-}
-
-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