diff options
| author | Sabas <sabasjimenez@gmail.com> | 2020-04-09 17:05:11 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-09 17:05:11 -0500 |
| commit | cac4fb0318015f344e191e3077e99ffdce347515 (patch) | |
| tree | d96c5d7010563f9db3f4e5fb2f981e5bb75c6345 /py/obj.c | |
| parent | 2a47623283911c8ebac6152560affc8c419dbddf (diff) | |
| parent | b3b8b5ca71dc58415083180d04b407185514c216 (diff) | |
Merge branch 'master' into nfc_copy
Diffstat (limited to 'py/obj.c')
| -rw-r--r-- | py/obj.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -38,6 +38,7 @@ #include "py/stackctrl.h" #include "py/stream.h" // for mp_obj_print +#include "supervisor/linker.h" #include "supervisor/shared/stack.h" #include "supervisor/shared/translate.h" @@ -128,7 +129,7 @@ void mp_obj_print_exception(const mp_print_t *print, mp_obj_t exc) { mp_print_str(print, "\n"); } -bool mp_obj_is_true(mp_obj_t arg) { +bool PLACE_IN_ITCM(mp_obj_is_true)(mp_obj_t arg) { if (arg == mp_const_false) { return 0; } else if (arg == mp_const_true) { |
