Fix endianness of board version read

10.3.x-maintenance
Nicholas Sherlock 2015-02-23 22:47:47 +13:00
parent 3c2bb6225d
commit 66e767881e
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ var MSP = {
identifier += String.fromCharCode(data.getUint8(offset));
}
CONFIG.boardIdentifier = identifier;
CONFIG.boardVersion = data.getUint16(offset);
CONFIG.boardVersion = data.getUint16(offset, 1);
offset+=2;
break;