diff --git a/common/wiegand.h b/common/wiegand.h index d856e3993..1db50607c 100644 --- a/common/wiegand.h +++ b/common/wiegand.h @@ -12,8 +12,8 @@ #include "common.h" #include "util.h" -uint8_t getParity(uint8_t *bits, uint8_t length, uint8_t type); -uint8_t checkParity(uint32_t bits, uint8_t bitlen, uint8_t type); +uint8_t getParity(uint8_t *bits, uint8_t len, uint8_t type); +uint8_t checkParity(uint32_t bits, uint8_t len, uint8_t type); void num_to_wiegand_bytes(uint64_t oem, uint64_t fc, uint64_t cn, uint8_t *dest, uint8_t formatlen); void num_to_wiegand_bits(uint64_t oem, uint64_t fc, uint64_t cn, uint8_t *dest, uint8_t formatlen);