diff --git a/armsrc/lfsampling.c b/armsrc/lfsampling.c index cd93e63d7..a1747fd03 100644 --- a/armsrc/lfsampling.c +++ b/armsrc/lfsampling.c @@ -127,7 +127,7 @@ void initSampleBufferEx(uint32_t *sample_size, bool use_malloc) { Dbprintf("initSampleBufferEx, param NULL"); return; } - BigBuf_free(); + BigBuf_free_keep_EM(); // We can't erase the buffer now, it would drastically delay the acquisition if (use_malloc) {