From: marshmellow42 Date: Fri, 7 Apr 2017 22:10:01 +0000 (-0400) Subject: fix silent option for getSamples X-Git-Tag: v3.0.0~16^2^2~1 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/e8647c5764725b15fa71a4cbfa212918b50a4d6b fix silent option for getSamples --- 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; }