style
This commit is contained in:
@@ -116,8 +116,7 @@ static void pacCardIdToRaw(uint8_t* outRawBytes, const char* cardId) {
|
|||||||
pattern = reflect8(idbytes[i - 2]);
|
pattern = reflect8(idbytes[i - 2]);
|
||||||
pattern |= oddparity8(pattern);
|
pattern |= oddparity8(pattern);
|
||||||
if (i > 3) checksum ^= idbytes[i - 2];
|
if (i > 3) checksum ^= idbytes[i - 2];
|
||||||
}
|
} else
|
||||||
else
|
|
||||||
pattern = (reflect8(checksum) & 0xFE) | oddparity8(checksum);
|
pattern = (reflect8(checksum) & 0xFE) | oddparity8(checksum);
|
||||||
pattern <<= shift;
|
pattern <<= shift;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user