diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-10-19 00:20:34 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-10-19 00:21:14 +0300 |
commit | 204222653edbc2d01b5aed38b1de71a767cb5748 (patch) | |
tree | 5498006d65edd88588b00a5f063a7c13fa41cfd4 /esp8266 | |
parent | 9514d847feb70c330d310a366b92013960729bdc (diff) | |
download | micropython-204222653edbc2d01b5aed38b1de71a767cb5748.tar.gz micropython-204222653edbc2d01b5aed38b1de71a767cb5748.zip |
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.
Diffstat (limited to 'esp8266')
-rw-r--r-- | esp8266/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/main.c b/esp8266/main.c index c938dcb30b..033ab7afed 100644 --- a/esp8266/main.c +++ b/esp8266/main.c @@ -141,7 +141,7 @@ mp_obj_t mp_builtin_open(uint n_args, const mp_obj_t *args, mp_map_t *kwargs) { } MP_DEFINE_CONST_FUN_OBJ_KW(mp_builtin_open_obj, 1, mp_builtin_open); -void nlr_jump_fail(void *val) { +void MP_FASTCODE(nlr_jump_fail)(void *val) { printf("NLR jump failed\n"); for (;;) { } |