File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636#include "shared-bindings/time/__init__.h"
3737#include "supervisor/shared/translate.h"
3838
39- /*
4039void MP_WEAK common_hal_rtc_get_time (timeutils_struct_time_t * tm ) {
41- mp_raise_NotImplementedError(translate("RTC is not supported on this board"));
40+ mp_raise_NotImplementedError (translate ("RTC get is not supported on this board" ));
4241}
4342
4443void MP_WEAK common_hal_rtc_set_time (timeutils_struct_time_t * tm ) {
45- mp_raise_NotImplementedError(translate("RTC is not supported on this board"));
44+ mp_raise_NotImplementedError (translate ("RTC set is not supported on this board" ));
4645}
4746
4847int MP_WEAK common_hal_rtc_get_calibration (void ) {
@@ -52,7 +51,7 @@ int MP_WEAK common_hal_rtc_get_calibration(void) {
5251void MP_WEAK common_hal_rtc_set_calibration (int calibration ) {
5352 mp_raise_NotImplementedError (translate ("RTC calibration is not supported on this board" ));
5453}
55- */
54+
5655
5756const rtc_rtc_obj_t rtc_rtc_obj = {{& rtc_rtc_type }};
5857
You can’t perform that action at this time.
0 commit comments