Skip to content

Commit

Permalink
remove debug print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Sep 13, 2024
1 parent bbe0dfc commit 0f0c238
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions uart.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ etc...
As of Espruino 2v25 you can also send data packets:
UART.getConnection().espruinoSendFile("test.txt","This is a test of sending data to Espruino").then(_=>console.log("Done"))
UART.getConnection().espruinoSendFile("test.txt","This is a test of sending data to Espruino's SD card",{fs:true}).then(_=>console.log("Done"))
ChangeLog:
Expand Down Expand Up @@ -148,9 +149,7 @@ To do:
ch = undefined;
}
if (ch===undefined) { // if we're supposed to remove the char, do it
console.log("before",data);
data = data.substring(0,i-1)+data.substring(i+1);
console.log("after",data);
i--;
}
}
Expand Down

0 comments on commit 0f0c238

Please sign in to comment.