Skip to content

Commit 22b0da2

Browse files
committed
Fixed IF statement
Didn't have double =
1 parent c78d3d1 commit 22b0da2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ function registerShell(_container, state){
761761
let answer = await confirmMessage(message);
762762
if(answer){
763763
let drive = "RPI-RP2"
764-
if(REPL.PROCESSOR = 2350){
764+
if(REPL.PROCESSOR == 2350){
765765
drive = "RP2350"
766766
}
767767
await alertMessage("When the <b><i>Select Folder</i></b> window comes up, select the <b><i>" + drive +"</i></b> drive when it appears.<br>Next, click on <b><i>Edit Files</i></b> and wait for the XRP to reconnect.<br> This process may take a few seconds.");

js/repl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,7 @@ class ReplJS{
15391539

15401540
window.setPercent(35);
15411541
let firmware = "micropython/firmware2040.uf2"
1542-
if(this.PROCESSOR = 2350){
1542+
if(this.PROCESSOR == 2350){
15431543
firmware = "micropython/firmware2350.uf2"
15441544
}
15451545
let data = await (await fetch(firmware)).arrayBuffer();

0 commit comments

Comments
 (0)