You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: js/main.js
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,13 @@ import { configNonBeta } from './nonbetaConfig.js';
9
9
10
10
constshowChangelogVersion="1.2.1";//update all instances of ?version= in the index file to match the version. This is needed for local cache busting
11
11
window.latestMicroPythonVersion=[1,25,0];
12
+
13
+
// this is needed because version 1.25.0 is not released yet and so the version number is not changing. Some boards
14
+
// got shipped with a version before this beta06. So this will help.
15
+
window.latestMicroPythonVersionPlus="beta06"
16
+
//Set to true if latestMicroPythonVersionPlus is empty.
17
+
window.MPVersionPlus=false;
18
+
12
19
window.xrpID="";
13
20
14
21
@@ -751,7 +758,7 @@ function registerShell(_container, state){
751
758
return;
752
759
}
753
760
}
754
-
varmessage="The MicroPython on your XRP needs to be updated. The new version is "+window.latestMicroPythonVersion[0]+"."+window.latestMicroPythonVersion[1]+"."+window.latestMicroPythonVersion[2];
761
+
varmessage="The MicroPython on your XRP needs to be updated. The new version is "+window.latestMicroPythonVersion[0]+"."+window.latestMicroPythonVersion[1]+"."+window.latestMicroPythonVersion[2]+" "+window.latestMicroPythonVersionPlus;
755
762
if(REPL.BLE_DEVICE!=undefined){
756
763
message+="<br>You will need to connect your XRP with a USB cable in order to update MicroPython";
0 commit comments