Skip to content

Commit 3d86ca6

Browse files
authored
fix comment
1 parent ef60d08 commit 3d86ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pio/uart_pio_dma/uart_pio_dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ int main()
138138
#endif
139139

140140
#if USE_PIO_FOR_RX && USE_DMA_FOR_RX
141-
// add a shared pio handler to print some status
141+
// add a shared irq handler to print some status
142142
irq_add_shared_handler(pio_get_irq_num(pio_hw_rx, PIO_IRQ_TO_USE), pio_irq_handler, PIO_IRQ_PRIORITY);
143143
pio_set_irqn_source_enabled(pio_hw_rx, PIO_IRQ_TO_USE, pio_get_rx_fifo_not_empty_interrupt_source(pio_sm_rx), true);
144144
irq_set_enabled(pio_get_irq_num(pio_hw_rx, PIO_IRQ_TO_USE), true);

0 commit comments

Comments
 (0)