We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f5f931 commit ab70506Copy full SHA for ab70506
1 file changed
ports/espressif/common-hal/busio/SPI.c
@@ -262,11 +262,11 @@ 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
268
spi_transaction_t *rtrans;
269
for (int x = 0; x < cur_trans; x++) {
+ RUN_BACKGROUND_TASKS;
270
spi_device_get_trans_result(spi_handle[self->host_id], &rtrans, portMAX_DELAY);
271
272
0 commit comments