File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ void __not_in_flash_func(isr_dma_0)(void) {
488
488
}
489
489
if (MP_STATE_PORT (background_pio_read )[i ] != NULL ) {
490
490
rp2pio_statemachine_obj_t * pio = MP_STATE_PORT (background_pio_read )[i ];
491
- rp2pio_statemachine_dma_complete_write (pio , i );
491
+ rp2pio_statemachine_dma_complete_read (pio , i );
492
492
}
493
493
if (MP_STATE_PORT (background_pio_write )[i ] != NULL ) {
494
494
rp2pio_statemachine_obj_t * pio = MP_STATE_PORT (background_pio_write )[i ];
Original file line number Diff line number Diff line change @@ -1392,9 +1392,9 @@ bool common_hal_rp2pio_statemachine_background_read(rp2pio_statemachine_obj_t *s
1392
1392
1393
1393
common_hal_mcu_disable_interrupts ();
1394
1394
// Acknowledge any previous pending interrupt
1395
- dma_hw -> ints1 |= 1u << channel_read ;
1395
+ dma_hw -> ints0 |= 1u << channel_read ;
1396
1396
MP_STATE_PORT (background_pio_read )[channel_read ] = self ;
1397
- dma_hw -> inte1 |= 1u << channel_read ;
1397
+ dma_hw -> inte0 |= 1u << channel_read ;
1398
1398
irq_set_mask_enabled (1 << DMA_IRQ_0 , true);
1399
1399
dma_start_channel_mask ((1u << channel_read ));
1400
1400
common_hal_mcu_enable_interrupts ();
You can’t perform that action at this time.
0 commit comments