mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-10 17:49:32 +08:00
fix: assume graphbuffer data only
This commit is contained in:
parent
dd0b11c0ef
commit
3b91a33eec
1 changed files with 4 additions and 4 deletions
|
@ -1318,7 +1318,7 @@ int getSamples(int n, bool silent) {
|
|||
n = sizeof(got);
|
||||
|
||||
if (!silent) PrintAndLog("Reading %d bytes from device memory\n", n);
|
||||
GetFromBigBuf(got,n,0);
|
||||
GetFromBigBuf(got, n, 0);
|
||||
|
||||
if (!silent) PrintAndLog("Data fetched");
|
||||
|
||||
|
@ -1328,9 +1328,6 @@ int getSamples(int n, bool silent) {
|
|||
return 1;
|
||||
}
|
||||
|
||||
// set signal properties low/high/mean/amplitude and isnoice detection
|
||||
justNoise(got, n);
|
||||
|
||||
uint8_t bits_per_sample = 8;
|
||||
|
||||
//Old devices without this feature would send 0 at arg[0]
|
||||
|
@ -1357,6 +1354,9 @@ int getSamples(int n, bool silent) {
|
|||
GraphTraceLen = n;
|
||||
}
|
||||
|
||||
// set signal properties low/high/mean/amplitude and isnoice detection
|
||||
justNoise_int(GraphBuffer, GraphTraceLen);
|
||||
|
||||
setClockGrid(0, 0);
|
||||
DemodBufferLen = 0;
|
||||
RepaintGraphWindow();
|
||||
|
|
Loading…
Reference in a new issue