mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Fix endianness of board version read
This commit is contained in:
parent
3c2bb6225d
commit
66e767881e
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ var MSP = {
|
||||||
identifier += String.fromCharCode(data.getUint8(offset));
|
identifier += String.fromCharCode(data.getUint8(offset));
|
||||||
}
|
}
|
||||||
CONFIG.boardIdentifier = identifier;
|
CONFIG.boardIdentifier = identifier;
|
||||||
CONFIG.boardVersion = data.getUint16(offset);
|
CONFIG.boardVersion = data.getUint16(offset, 1);
|
||||||
offset+=2;
|
offset+=2;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue