From 8f9da28a93e1dedfc56cbc1cf73457316750e943 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 26 Mar 2018 12:02:22 +0200 Subject: [PATCH] fix: reverting LF adjustment, will enable some LF to work properly again. --- client/cmddata.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/client/cmddata.c b/client/cmddata.c index 25735682c..285223243 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -384,24 +384,20 @@ int CmdPrintDemodBuff(const char *Cmd) { uint32_t offset = 0; uint32_t length = 512; char cmdp = 0; - while(param_getchar(Cmd, cmdp) != 0x00 && !errors) { - switch(param_getchar(Cmd, cmdp)) { + while (param_getchar(Cmd, cmdp) != 0x00 && !errors) { + switch (tolower(param_getchar(Cmd, cmdp))) { case 'h': - case 'H': return usage_data_printdemodbuf(); case 'x': - case 'X': hexMode = true; cmdp++; break; case 'o': - case 'O': offset = param_get32ex(Cmd, cmdp+1, 0, 10); if (!offset) errors = true; cmdp += 2; break; case 'l': - case 'L': length = param_get32ex(Cmd, cmdp+1, 512, 10); if (!length) errors = true; cmdp += 2; @@ -1452,9 +1448,9 @@ int getSamples(int n, bool silent) { //ICEMAN todo // set signal properties low/high/mean/amplitude and is_noice detection - //justNoise(got, n); + justNoise(got, n); // set signal properties low/high/mean/amplitude and isnoice detection - justNoise_int(GraphBuffer, GraphTraceLen); + //justNoise_int(GraphBuffer, GraphTraceLen); setClockGrid(0, 0); DemodBufferLen = 0;