linter fixes

This commit is contained in:
hedger 2024-02-20 02:21:49 +00:00
parent e143833ee1
commit d731918197
No known key found for this signature in database
GPG key ID: BC19012910E3C2CF

View file

@ -98,10 +98,7 @@ void WIEGAND::ReadD1() {
_lastWiegand = DWT->CYCCNT; // Keep track of last wiegand bit received
}
unsigned long WIEGAND::GetCardId(
unsigned long* codehigh,
unsigned long* codelow,
char bitlength) {
unsigned long WIEGAND::GetCardId(unsigned long* codehigh, unsigned long* codelow, char bitlength) {
if(bitlength == 26) // EM tag
return (*codelow & 0x1FFFFFE) >> 1;