lf tune: remove 16b mask (thanks @iceman1001)

This commit is contained in:
Philippe Teuwen 2019-09-24 15:44:16 +02:00
parent 6ffae0e156
commit 878e394cde

View file

@ -230,7 +230,7 @@ int CmdLFTune(const char *Cmd) {
}
if ((resp.status == PM3_EOPABORTED) || (resp.length != sizeof(uint32_t)))
break;
uint32_t volt = resp.data.asDwords[0] & 0xFFFF;
uint32_t volt = resp.data.asDwords[0];
PrintAndLogEx(INPLACE, "%u mV / %5u V", volt, (uint32_t)(volt / 1000));
}
mode[0] = 3;