Merge pull request #122 from RfidResearchGroup/computeSignalProperties

Replace isNoise by computeSignalProperties and removeSignalOffset
This commit is contained in:
Iceman 2019-03-09 08:35:37 +01:00 committed by GitHub
commit 17435d366f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 85 additions and 129 deletions

View file

@ -1331,7 +1331,10 @@ bool AquireData( uint8_t page, uint8_t block, bool pwdmode, uint32_t password )
return false;
}
setGraphBuf(got, sizeof(got));
return !isNoise(got, sizeof(got));
// set signal properties low/high/mean/amplitude and is_noise detection
computeSignalProperties(got, sizeof(got));
RepaintGraphWindow();
return !getSignalProperties()->isnoise;
}
char * GetBitRateStr(uint32_t id, bool xmode) {