diff --git a/boards/rp-pico/examples/pico_uart_irq_buffer.rs b/boards/rp-pico/examples/pico_uart_irq_buffer.rs index 385c10b5..14a1f5f0 100644 --- a/boards/rp-pico/examples/pico_uart_irq_buffer.rs +++ b/boards/rp-pico/examples/pico_uart_irq_buffer.rs @@ -279,7 +279,7 @@ fn UART0_IRQ() { } if UART_TX_QUEUE.peek_byte().is_none() { - pac::NVIC::mask(hal::pac::Interrupt::UART0_IRQ); + pac::NVIC::mask(UART_TX_QUEUE.interrupt); } }