From e8647c5764725b15fa71a4cbfa212918b50a4d6b Mon Sep 17 00:00:00 2001 From: marshmellow42 Date: Fri, 7 Apr 2017 18:10:01 -0400 Subject: [PATCH] fix silent option for getSamples --- client/cmddata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmddata.c b/client/cmddata.c index 8f2aea5a..2f508efc 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -1161,7 +1161,7 @@ int getSamples(int n, bool silent) if(response.arg[0] > 0) { sample_config *sc = (sample_config *) response.d.asBytes; - PrintAndLog("Samples @ %d bits/smpl, decimation 1:%d ", sc->bits_per_sample + if (!silent) PrintAndLog("Samples @ %d bits/smpl, decimation 1:%d ", sc->bits_per_sample , sc->decimation); bits_per_sample = sc->bits_per_sample; } -- 2.39.5