diff dac.pio @ 22:9ad0dd5c638c

Use IRQ 0 again
author Daniel O'Connor <darius@dons.net.au>
date Tue, 25 Feb 2025 15:46:46 +1030
parents f1e44afb41a3
children 6070d2e66b4c
line wrap: on
line diff
--- a/dac.pio	Tue Feb 25 15:46:32 2025 +1030
+++ b/dac.pio	Tue Feb 25 15:46:46 2025 +1030
@@ -11,8 +11,7 @@
     mov pins, null side 0
     nop side 1
 ; Wait for start trigger and clear IRQ
-    wait 1 irq 1 side 0
-    irq clear 1 side 0
+    wait 1 irq TRIGGER_IRQ side 0
 ; Clock DAC and write data from the FIFO
 ; DAC clocks data in on the rising clock edge
 .wrap_target