mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
CHG: 'lf search' - hitag/cotag wrong return values
CHG: is_justnoise - safety checks CHG: 'hitag reader' - debug printing
This commit is contained in:
parent
54e8a0ae2b
commit
3b1c01cd13
6 changed files with 83 additions and 65 deletions
|
@ -269,6 +269,10 @@ uint8_t fskClocks(uint8_t *fc1, uint8_t *fc2, uint8_t *rf1, bool verbose, int *f
|
|||
// By measuring mean and look at amplitude of signal from HIGH / LOW,
|
||||
// we can detect noise
|
||||
bool is_justnoise(int *bits, uint32_t size) {
|
||||
|
||||
if ( bits == NULL ) return true;
|
||||
if ( size < 100 ) return true;
|
||||
|
||||
//might not be high enough for noisy environments
|
||||
#define NOICE_AMPLITUDE_THRESHOLD 10;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue