From 5eef25bb5f5ebe483e7df707391f3162a4226bfa Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 15 Jan 2020 19:19:58 +0100 Subject: [PATCH] fix again delay in acquisition --- armsrc/lfsampling.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/armsrc/lfsampling.c b/armsrc/lfsampling.c index f694b01f4..eb3edb029 100644 --- a/armsrc/lfsampling.c +++ b/armsrc/lfsampling.c @@ -108,7 +108,8 @@ sampling_t samples = {0, 0, 0, 0}; void initSampleBuffer(uint32_t *sample_size) { BigBuf_free(); - BigBuf_Clear_ext(false); +// We can't erase the buffer now, it would drastically delay the acquisition +// BigBuf_Clear_ext(false); if (sample_size == NULL || *sample_size == 0) { *sample_size = BigBuf_max_traceLen();