8000 Merge pull request #10275 from dhalbert/dont-no-return-weak-functions · rianadon/circuitpython@68e8136 · GitHub
[go: up one dir, main page]

Skip to content

Commit 68e8136

Browse files
authored
Merge pull request adafruit#10275 from dhalbert/dont-no-return-weak-functions
Don't NORETURN MP_WEAK functions
2 parents 5987adb + 517fd06 commit 68e8136

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

shared-bindings/alarm/time/TimeAlarm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "shared-bindings/time/__init__.h"
1515

1616
#if MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE
17-
NORETURN mp_obj_t MP_WEAK rtc_get_time_source_time(void) {
17+
mp_obj_t MP_WEAK rtc_get_time_source_time(void) {
1818
mp_raise_RuntimeError(MP_ERROR_TEXT("RTC is not supported on this board"));
1919
}
2020
#endif

shared-bindings/time/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ MP_DEFINE_CONST_FUN_OBJ_0(time_not_implemented_obj, time_not_implemented);
172172
#endif
173173

174174
#if MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE
175-
NORETURN mp_obj_t MP_WEAK rtc_get_time_source_time(void) {
175+
mp_obj_t MP_WEAK rtc_get_time_source_time(void) {
176176
mp_raise_RuntimeError(MP_ERROR_TEXT("RTC is not supported on this board"));
177177
}
178178

0 commit comments

Comments
 (0)
0