diff options
| author | Melissa LeBlanc-Williams <melissa@melissagirl.com> | 2019-03-28 17:27:59 -0700 |
|---|---|---|
| committer | Melissa LeBlanc-Williams <melissa@melissagirl.com> | 2019-03-28 17:27:59 -0700 |
| commit | e254597c24c7c9f3119e893da6297b8271a4dccf (patch) | |
| tree | 24e40df748a64435954d22da1a9bf52cc06041b0 /shared-bindings | |
| parent | 8087cb41e546ddec54d148a96b5036427615e097 (diff) | |
| parent | a30bbe62944b6e6e791d7472921dae6931b7fce8 (diff) | |
Merge branch 'master' of https://github.com/adafruit/circuitpython into ssd1351-fix
Diffstat (limited to 'shared-bindings')
| -rw-r--r-- | shared-bindings/rtc/RTC.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared-bindings/rtc/RTC.c b/shared-bindings/rtc/RTC.c index 474d4a399..d9153781e 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 is not supported on this board")); + mp_raise_NotImplementedError(translate("RTC set is not supported on this board")); } int MP_WEAK common_hal_rtc_get_calibration(void) { @@ -52,6 +52,7 @@ 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 |
