mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
fix: 'lf t55' - aquiredata uses getsamples
This commit is contained in:
parent
cc81b5bed9
commit
45e8403d4d
1 changed files with 2 additions and 9 deletions
|
@ -1325,15 +1325,8 @@ bool AquireData( uint8_t page, uint8_t block, bool pwdmode, uint32_t password )
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t got[8000];
|
getSamples(12000, true);
|
||||||
if ( !GetFromDevice(BIG_BUF, got, sizeof(got), 0, NULL, 4000, true)) {
|
|
||||||
PrintAndLogEx(WARNING, "command execution time out");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
setGraphBuf(got, sizeof(got));
|
|
||||||
// set signal properties low/high/mean/amplitude and is_noise detection
|
|
||||||
computeSignalProperties(got, sizeof(got));
|
|
||||||
RepaintGraphWindow();
|
|
||||||
return !getSignalProperties()->isnoise;
|
return !getSignalProperties()->isnoise;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue