8000 esp8266/main: Mark nlr_jump_fail() as MP_FASTCODE. · ladyada/circuitpython@2042226 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2042226

Browse files
committed
esp8266/main: Mark nlr_jump_fail() as MP_FASTCODE.
It's probably not strictly needed so far, but serves as an example of MP_FASTCODE use and may be helpful in the future.
1 parent 9514d84 commit 2042226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp8266/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ mp_obj_t mp_builtin_open(uint n_args, const mp_obj_t *args, mp_map_t *kwargs) {
141141
}
142142
MP_DEFINE_CONST_FUN_OBJ_KW(mp_builtin_open_obj, 1, mp_builtin_open);
143143

144-
void nlr_jump_fail(void *val) {
144+
void MP_FASTCODE(nlr_jump_fail)(void *val) {
145145
printf("NLR jump failed\n");
146146
for (;;) {
147147
}

0 commit comments

Comments
 (0)
0