summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/machine_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/machine_spi.c')
-rw-r--r--extmod/machine_spi.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/extmod/machine_spi.c b/extmod/machine_spi.c
index 6e76784988..a67d294baf 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
}
}