diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-08-20 13:06:23 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2019-08-20 13:06:23 -0400 |
| commit | e00696de7ff5828c78decb115f7ff1e3837ff194 (patch) | |
| tree | 1846a0898b197d6118b358689ea5cc76d49dbccc /shared-bindings/displayio/ParallelBus.c | |
| parent | 58d29feab1095fbd33e6b068fed0d266427146b7 (diff) | |
| parent | 42143ca0568c69bec6c60da3ae9a1e8f3ca106ff (diff) | |
merge from upstream and make translate
Diffstat (limited to 'shared-bindings/displayio/ParallelBus.c')
| -rw-r--r-- | shared-bindings/displayio/ParallelBus.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/shared-bindings/displayio/ParallelBus.c b/shared-bindings/displayio/ParallelBus.c index 00a96d230..c29c79fff 100644 --- a/shared-bindings/displayio/ParallelBus.c +++ b/shared-bindings/displayio/ParallelBus.c @@ -122,9 +122,7 @@ STATIC mp_obj_t displayio_parallelbus_obj_send(mp_obj_t self, mp_obj_t command_o // Wait for display bus to be available. while (!common_hal_displayio_parallelbus_begin_transaction(self)) { -#ifdef MICROPY_VM_HOOK_LOOP - MICROPY_VM_HOOK_LOOP ; -#endif + RUN_BACKGROUND_TASKS; } common_hal_displayio_parallelbus_send(self, true, &command, 1); common_hal_displayio_parallelbus_send(self, false, ((uint8_t*) bufinfo.buf), bufinfo.len); |
