Fixed support to clone Pyramic, Paradox and Awid on EM4x05
This commit is contained in:
1 parent
185a45e749
commit
c1c093af62
6 files changed
+22
No files matched your search
@@ -327,7 +327,12 @@ static int CmdPyramidClone(const char *Cmd) {
|
||||
}
|
||||
// EM4305
|
||||
if (em) {
|
||||
PrintAndLogEx(WARNING, "Beware some EM4305 tags don't support FSK and datarate = RF/50, check your tag copy!");
|
||||
blocks[0] = EM4305_PYRAMID_CONFIG_BLOCK;
|
||||
// invert FSK data
|
||||
for (uint8_t i = 1; i < ARRAYLEN(blocks) ; i++) {
|
||||
blocks[i] = blocks[i] ^ 0xFFFFFFFF;
|
||||
}
|
||||
snprintf(cardtype, sizeof(cardtype), "EM4305/4469");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user