Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kilograham authored Feb 18, 2025
1 parent ef60d08 commit 3d86ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pio/uart_pio_dma/uart_pio_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ int main()
#endif

#if USE_PIO_FOR_RX && USE_DMA_FOR_RX
// add a shared pio handler to print some status
// add a shared irq handler to print some status
irq_add_shared_handler(pio_get_irq_num(pio_hw_rx, PIO_IRQ_TO_USE), pio_irq_handler, PIO_IRQ_PRIORITY);
pio_set_irqn_source_enabled(pio_hw_rx, PIO_IRQ_TO_USE, pio_get_rx_fifo_not_empty_interrupt_source(pio_sm_rx), true);
irq_set_enabled(pio_get_irq_num(pio_hw_rx, PIO_IRQ_TO_USE), true);
Expand Down

0 comments on commit 3d86ca6

Please sign in to comment.