From 0641ada091dbcf03e1992798bddf4c28bb358de6 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 21 Aug 2020 14:50:14 +0200 Subject: [PATCH] since t55xx chkpwd uses EM for pwd storage --- armsrc/lfsampling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {