mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
cppchecker
This commit is contained in:
parent
b6965425bc
commit
9395f8c8ac
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ static uint32_t get_pulse_length(edge_detection_t edge) {
|
||||||
|
|
||||||
static bool check_pulse_length(uint32_t pl, uint32_t length) {
|
static bool check_pulse_length(uint32_t pl, uint32_t length) {
|
||||||
// check if pulse length <pl> corresponds to given length <length>
|
// check if pulse length <pl> corresponds to given length <length>
|
||||||
return ((pl >= (length - EM4X70_T_TAG_TOLERANCE)) & (pl <= (length + EM4X70_T_TAG_TOLERANCE)));
|
return ((pl >= (length - EM4X70_T_TAG_TOLERANCE)) && (pl <= (length + EM4X70_T_TAG_TOLERANCE)));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void em4x70_send_bit(bool bit) {
|
static void em4x70_send_bit(bool bit) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue