diff --git a/shared-bindings/alarm/time/TimeAlarm.c b/shared-bindings/alarm/time/TimeAlarm.c index 49d49c89a8c29..0277c22fc44bf 100644 --- a/shared-bindings/alarm/time/TimeAlarm.c +++ b/shared-bindings/alarm/time/TimeAlarm.c @@ -14,7 +14,7 @@ #include "shared-bindings/time/__init__.h" #if MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE -NORETURN mp_obj_t MP_WEAK rtc_get_time_source_time(void) { +mp_obj_t MP_WEAK rtc_get_time_source_time(void) { mp_raise_RuntimeError(MP_ERROR_TEXT("RTC is not supported on this board")); } #endif diff --git a/shared-bindings/time/__init__.c b/shared-bindings/time/__init__.c index be936b6d01589..504cd07d90111 100644 --- a/shared-bindings/time/__init__.c +++ b/shared-bindings/time/__init__.c @@ -172,7 +172,7 @@ MP_DEFINE_CONST_FUN_OBJ_0(time_not_implemented_obj, time_not_implemented); #endif #if MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE -NORETURN mp_obj_t MP_WEAK rtc_get_time_source_time(void) { +mp_obj_t MP_WEAK rtc_get_time_source_time(void) { mp_raise_RuntimeError(MP_ERROR_TEXT("RTC is not supported on this board")); }
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: