diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-12-22 16:13:02 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-12-22 16:13:02 -0800 |
| commit | 1fca297a2d2bfefb1cdef3ecbac05f54d15e08eb (patch) | |
| tree | e9273efad20b60e5a7e2864ffc3f0fd53ed531c9 /py | |
| parent | d4e9eea397c887d9eceb5f4c6aba117a4dc3d03b (diff) | |
A couple sleep fixes
* Better messaging when code is stopped by an auto-reload.
* Auto-reload works during sleeps on ESP32-S2. Ticks wake up the
main task each time.
* Made internal naming consistent. CamelCase Python names are NOT
separated by an underscore.
Diffstat (limited to 'py')
| -rw-r--r-- | py/obj.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -68,10 +68,12 @@ void mp_obj_print_helper(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t #ifdef RUN_BACKGROUND_TASKS RUN_BACKGROUND_TASKS; #endif + #if MICROPY_KBD_EXCEPTION // Stop printing if we've been interrupted. if (mp_hal_is_interrupted()) { return; } + #endif #ifndef NDEBUG if (o_in == MP_OBJ_NULL) { |
