diff --git a/ports/psoc6/mpconfigport.h b/ports/psoc6/mpconfigport.h index a1314c63f3c7a..aaeea1fe5fd2f 100644 --- a/ports/psoc6/mpconfigport.h +++ b/ports/psoc6/mpconfigport.h @@ -212,8 +212,7 @@ extern void machine_deinit(); #define MICROPY_EVENT_POLL_HOOK_FAST \ do { \ - extern void mp_handle_pending(bool); \ - mp_handle_pending(true); \ + mp_handle_pending(MP_HANDLE_PENDING_CALLBACKS_AND_EXCEPTIONS); \ } while (0);