mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
Replace isNoise by computeSignalProperties and removeSignalOffset
This commit is contained in:
parent
1f0c1dff5e
commit
4160e32b0a
7 changed files with 92 additions and 129 deletions
|
@ -1330,8 +1330,12 @@ bool AquireData( uint8_t page, uint8_t block, bool pwdmode, uint32_t password )
|
|||
PrintAndLogEx(WARNING, "command execution time out");
|
||||
return false;
|
||||
}
|
||||
// set signal properties low/high/mean/amplitude and is_noise detection
|
||||
removeSignalOffset(got, sizeof(got));
|
||||
computeSignalProperties(got, sizeof(got));
|
||||
setGraphBuf(got, sizeof(got));
|
||||
return !isNoise(got, sizeof(got));
|
||||
RepaintGraphWindow();
|
||||
return !getSignalProperties()->isnoise;
|
||||
}
|
||||
|
||||
char * GetBitRateStr(uint32_t id, bool xmode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue