We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd05118 commit 7f5f931Copy full SHA for 7f5f931
ports/espressif/common-hal/busio/SPI.c
@@ -262,10 +262,9 @@ bool common_hal_busio_spi_transfer(busio_spi_obj_t *self,
262
263
for (int i = 0; i < cur_trans; i++) {
264
spi_device_queue_trans(spi_handle[self->host_id], &transactions[i], portMAX_DELAY);
265
+ RUN_BACKGROUND_TASKS;
266
}
267
- RUN_BACKGROUND_TASKS;
268
-
269
spi_transaction_t *rtrans;
270
for (int x = 0; x < cur_trans; x++) {
271
spi_device_get_trans_result(spi_handle[self->host_id], &rtrans, portMAX_DELAY);
0 commit comments