mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-09 01:36:52 +08:00
hf tune: mask 32b dword to 16b
This commit is contained in:
parent
bc28eb04e4
commit
5a6c9e7863
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ int CmdHFTune(const char *Cmd) {
|
|||
}
|
||||
if ((resp.status == PM3_EOPABORTED) || (resp.length != sizeof(uint16_t)))
|
||||
break;
|
||||
uint16_t volt = resp.data.asDwords[0];
|
||||
uint16_t volt = resp.data.asDwords[0] & 0xFFFF;
|
||||
PrintAndLogEx(INPLACE, "%u mV / %5u V", volt, (uint16_t)(volt / 1000));
|
||||
}
|
||||
mode[0] = 3;
|
||||
|
|
Loading…
Reference in a new issue