mirror of https://github.com/espruino/BangleApps
dfu version
parent
722c289351
commit
ae539835da
|
@ -105,6 +105,7 @@ function onInit(device) {
|
|||
if (crcs[0] == 1787004733) version = "2v20"; // check 6 page CRCs - the 7th page isn't used in 2v20+
|
||||
else if (crcs[0] == 3816337552) version = "2v21";
|
||||
else if (crcs[0] == 3329616485) version = "2v22";
|
||||
else if (crcs[0] == 1569433504) version = "2v23";
|
||||
else { // for other versions all 7 pages are used, check those
|
||||
var crc = crcs[1];
|
||||
if (crc==1339551013) { version = "2v10.219"; ok = false; }
|
||||
|
|
Loading…
Reference in New Issue