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 a9d9296 commit 1a9034fCopy full SHA for 1a9034f
ports/raspberrypi/common-hal/rp2pio/StateMachine.c
@@ -917,7 +917,7 @@ bool common_hal_rp2pio_statemachine_background_write(rp2pio_statemachine_obj_t *
917
self->loop = *loop;
918
self->pending_buffers = pending_buffers;
919
920
- if (self->dma_completed) {
+ if (self->dma_completed && self->once.info.len) {
921
rp2pio_statemachine_dma_complete(self, SM_DMA_GET_CHANNEL(pio_index, sm));
922
self->dma_completed = false;
923
}
0 commit comments