From 6004eaac274414a0b5155a6b9bc87b101fb819c9 Mon Sep 17 00:00:00 2001 From: Andy Killorin <37423245+Speedy6451@users.noreply.github.com> Date: Sat, 12 Apr 2025 17:11:12 -0400 Subject: [PATCH] enable interrupts in capture as task0 never runs this took days (2) to find --- main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.c b/main.c index 4cfc8c8..f389e6e 100644 --- a/main.c +++ b/main.c @@ -126,6 +126,7 @@ void task0_func(UArg arg1, UArg arg2) void capture_waveform(UArg arg1, UArg arg2) { + IntMasterEnable(); while(true) { Semaphore_pend(capture_sem, BIOS_WAIT_FOREVER); @@ -170,6 +171,9 @@ void process_waveform(UArg arg1, UArg arg2) { void display_waveform(UArg arg1, UArg arg2) { + while(1) { + Semaphore_pend(display_sem, BIOS_WAIT_FOREVER); + } }