mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
remove redundant removeSignalOffset
This commit is contained in:
parent
4160e32b0a
commit
1cba26decf
3 changed files with 2 additions and 9 deletions
|
@ -1471,10 +1471,6 @@ int getSamples(int n, bool silent) {
|
|||
|
||||
uint8_t bits[GraphTraceLen];
|
||||
size_t size = getFromGraphBuf(bits);
|
||||
// TODO now DC removal is done already on device, right ?
|
||||
// removeSignalOffset(bits, size);
|
||||
// push it back to graph
|
||||
// setGraphBuf(bits, size);
|
||||
// set signal properties low/high/mean/amplitude and is_noise detection
|
||||
computeSignalProperties(bits, size);
|
||||
|
||||
|
|
|
@ -1000,8 +1000,6 @@ bool downloadSamplesEM(){
|
|||
return false;
|
||||
}
|
||||
|
||||
// TODO now DC removal is done already on device, right ?
|
||||
// removeSignalOffset(got, sizeof(got));
|
||||
setGraphBuf(got, sizeof(got));
|
||||
// set signal properties low/high/mean/amplitude and is_noise detection
|
||||
computeSignalProperties(got, sizeof(got));
|
||||
|
|
|
@ -1330,10 +1330,9 @@ 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));
|
||||
// set signal properties low/high/mean/amplitude and is_noise detection
|
||||
computeSignalProperties(got, sizeof(got));
|
||||
RepaintGraphWindow();
|
||||
return !getSignalProperties()->isnoise;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue