Commit 7f2db9a2 authored by Zhiping Jiang (蒋志平)'s avatar Zhiping Jiang (蒋志平) 💬

update extrainfo's version to uint64_t

parent 44fdcad7
......@@ -113,7 +113,8 @@ int ExtraInfo::fromBinary(const uint8_t *extraInfoPtr, struct ExtraInfo * extraI
}
if (extraInfo->hasVersion) {
extraInfo->version = extraInfoPtr[pos++];
extraInfo->version = *((uint64_t *)(extraInfoPtr+pos));
pos += 8;
}
if (extraInfo->hasMacAddr_cur) {
......
......@@ -71,7 +71,7 @@ struct ExtraInfo {
bool hasAGC;
bool hasAntennaSelection;
uint16_t length;
uint8_t version;
uint64_t version;
uint8_t macaddr_rom[6];
uint8_t macaddr_cur[6];
uint32_t chansel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment