Merge branch 'espruino:master' into master

master
jeonlab 2024-05-22 20:55:29 -05:00 committed by GitHub
commit 26ebfa9bf5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View File

@ -104,6 +104,7 @@ function onInit(device) {
var ok = true; var ok = true;
if (crcs[0] == 1787004733) version = "2v20"; // check 6 page CRCs - the 7th page isn't used in 2v20+ 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] == 3816337552) version = "2v21";
else if (crcs[0] == 3329616485) version = "2v22";
else { // for other versions all 7 pages are used, check those else { // for other versions all 7 pages are used, check those
var crc = crcs[1]; var crc = crcs[1];
if (crc==1339551013) { version = "2v10.219"; ok = false; } if (crc==1339551013) { version = "2v10.219"; ok = false; }

2
core

@ -1 +1 @@
Subproject commit 2938c27bee9430bca03066f199724747f220cda0 Subproject commit 1b613f497e993b6ef33dfe3d7aa14416d7cdaa23