diff --git a/extmod/machine_spi.c b/extmod/machine_spi.c index 6e76784988e059ce267bfbbf6366da7e359509a7..a67d294baf7249af4dffb9bf67bedca144dd56c0 100644 --- a/extmod/machine_spi.c +++ b/extmod/machine_spi.c @@ -90,12 +90,6 @@ void mp_machine_soft_spi_transfer(mp_obj_base_t *self_in, size_t len, const uint if (dest != NULL) { dest[i] = data_in; } - - // Some ports need a regular callback, but probably we don't need - // to do this every byte, or even at all. - #ifdef MICROPY_EVENT_POLL_HOOK - MICROPY_EVENT_POLL_HOOK; - #endif } }