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.
2 parents a9e50e2 + d0e8030 commit 321d6e9Copy full SHA for 321d6e9
ports/raspberrypi/common-hal/rp2pio/StateMachine.c
@@ -1096,6 +1096,8 @@ bool common_hal_rp2pio_statemachine_background_write(rp2pio_statemachine_obj_t *
1096
false);
1097
1098
common_hal_mcu_disable_interrupts();
1099
+ // Acknowledge any previous pending interrupt
1100
+ dma_hw->ints0 |= 1u << channel;
1101
MP_STATE_PORT(background_pio)[channel] = self;
1102
dma_hw->inte0 |= 1u << channel;
1103
irq_set_mask_enabled(1 << DMA_IRQ_0, true);
0 commit comments