mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-22 23:24:22 +08:00
text
This commit is contained in:
parent
92631bdfb4
commit
e2d253f641
1 changed files with 2 additions and 2 deletions
|
@ -82,11 +82,11 @@ int detectFDXB(uint8_t *dest, size_t *size) {
|
||||||
static void verify_values(uint32_t countryid, uint64_t animalid){
|
static void verify_values(uint32_t countryid, uint64_t animalid){
|
||||||
if ((animalid & 0x3FFFFFFFFF) != animalid) {
|
if ((animalid & 0x3FFFFFFFFF) != animalid) {
|
||||||
animalid &= 0x3FFFFFFFFF;
|
animalid &= 0x3FFFFFFFFF;
|
||||||
PrintAndLogEx(NORMAL, "Animal ID Truncated to 38bits: %"PRIx64, animalid);
|
PrintAndLogEx(INFO, "Animal ID Truncated to 38bits: %"PRIx64, animalid);
|
||||||
}
|
}
|
||||||
if ( (countryid & 0x3ff) != countryid ) {
|
if ( (countryid & 0x3ff) != countryid ) {
|
||||||
countryid &= 0x3ff;
|
countryid &= 0x3ff;
|
||||||
PrintAndLogEx(NORMAL, "Country ID Truncated to 10bits: %03d", countryid);
|
PrintAndLogEx(INFO, "Country ID Truncated to 10bits: %03d", countryid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue