mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-08 01:06:37 +08:00
corrected stupid error (&->&&)
This commit is contained in:
parent
7b62035bc4
commit
eaefd78c64
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ static uint32_t get_pulse_length(void) {
|
|||
|
||||
static bool check_pulse_length(uint32_t pl, int length) {
|
||||
// check if pulse length <pl> corresponds to given length <length>
|
||||
return ((pl >= T0 * (length - EM4X50_TAG_TOLERANCE)) & (pl <= T0 * (length + EM4X50_TAG_TOLERANCE)));
|
||||
return ((pl >= T0 * (length - EM4X50_TAG_TOLERANCE)) && (pl <= T0 * (length + EM4X50_TAG_TOLERANCE)));
|
||||
}
|
||||
|
||||
static void em4x50_reader_send_bit(int bit) {
|
||||
|
|
Loading…
Reference in a new issue