mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 04:49:38 -07:00
fix silent option for getSamples
This commit is contained in:
parent
f9a6e84c56
commit
e8647c5764
1 changed files with 1 additions and 1 deletions
|
@ -1161,7 +1161,7 @@ int getSamples(int n, bool silent)
|
||||||
if(response.arg[0] > 0)
|
if(response.arg[0] > 0)
|
||||||
{
|
{
|
||||||
sample_config *sc = (sample_config *) response.d.asBytes;
|
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);
|
, sc->decimation);
|
||||||
bits_per_sample = sc->bits_per_sample;
|
bits_per_sample = sc->bits_per_sample;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue