mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-10 06:54:19 +00:00
linter fixes
This commit is contained in:
parent
e143833ee1
commit
d731918197
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue