enable interrupts in capture as task0 never runs

this took days (2) to find
This commit is contained in:
Andy Killorin 2025-04-12 17:11:12 -04:00
parent e1419da297
commit 6004eaac27

4
main.c
View file

@ -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);
}
}