changeset 22:9ad0dd5c638c

Use IRQ 0 again
author Daniel O'Connor <darius@dons.net.au>
date Tue, 25 Feb 2025 15:46:46 +1030
parents 8d759cf5a9e7
children 3c713073dd0c
files dac.pio
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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