diff --git a/testkit/memory.c b/testkit/memory.c index bb53ae5..a8abef2 100644 --- a/testkit/memory.c +++ b/testkit/memory.c @@ -250,8 +250,10 @@ static int test_memory_range(void *_args) (a & (1u<< 1)) ? 'X' : '-', (a & (1u<< 0)) ? 'X' : '-'); print_line(r); /* Wait for async exit. */ - for (;;) - continue; + for (;;) { + delay_ms(500); + ciaa->pra ^= CIAAPRA_LED; + } } return 0; diff --git a/testkit/testkit.c b/testkit/testkit.c index 49ab8a3..69ada34 100644 --- a/testkit/testkit.c +++ b/testkit/testkit.c @@ -1167,8 +1167,11 @@ static void c_SOFT_IRQ(struct c_exception_frame *frame) prev_ciaapra = ciaapra; /* Perform an asynchronous function cancellation if so instructed. */ - if (do_cancel) + if (do_cancel) { cancel_call(&test_cancellation, frame); + /* Memory test may mess with power LED / audio filter: Reset it. */ + ciaa->pra &= ~CIAAPRA_LED; + } IRQ_RESET(INT_SOFT); }