From 3b90f5389acccd40c255550bebd8af1fddb26267 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 3 Aug 2020 17:36:39 +0200 Subject: [PATCH] larger --- armsrc/BigBuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/BigBuf.c b/armsrc/BigBuf.c index 608c38040..5737319d0 100644 --- a/armsrc/BigBuf.c +++ b/armsrc/BigBuf.c @@ -309,7 +309,7 @@ void tosend_stuffbit(int b) { dmabuf16_t *get_dma16(void) { if (dma_16.buf == NULL) - dma_16.buf = (uint16_t*)BigBuf_malloc(DMA_BUFFER_SIZE); + dma_16.buf = (uint16_t*)BigBuf_malloc(DMA_BUFFER_SIZE * sizeof(uint16_t)); return &dma_16; }