Added keyfob UI and debug functions

Fixed hex display truncated to 32 bits instead of 64
Updated binary
This commit is contained in:
furrtek 2017-10-14 16:30:49 +01:00
parent 04c5b4d607
commit 40a71d32a2
12 changed files with 470 additions and 32 deletions

View file

@ -1328,7 +1328,7 @@ uint64_t SymField::value_hex_u64() {
if (type_ != SYMFIELD_DEF) {
for (c = 0; c < length_; c++)
v += values_[c] << (4 * (length_ - 1 - c));
v += (uint64_t)(values_[c]) << (4 * (length_ - 1 - c));
return v;
} else
return 0;