From d3c43c3ecdff0abc0cecbaeeebbbac3dce7b495c Mon Sep 17 00:00:00 2001 From: Lephe Date: Sun, 10 May 2020 23:00:42 +0200 Subject: [PATCH] dma: do not wait before initialization Hangs if the add-in is started first on a fresh boot, probably because the OS doesn't bother initializing all the channels of its hardware. --- src/dma/dma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dma/dma.c b/src/dma/dma.c index 4d5b1e8..263e53e 100644 --- a/src/dma/dma.c +++ b/src/dma/dma.c @@ -238,8 +238,6 @@ GBSS static ctx_t sys_ctx, gint_ctx; static void ctx_save(void *buf) { - dma_transfer_wait(-1); - ctx_t *ctx = buf; for(int i = 0; i < 6; i++)