From 0f0c2380d563f576c2f5342e8a77e829515b7fcf Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Fri, 13 Sep 2024 09:49:53 +0100 Subject: [PATCH] remove debug print statements --- uart.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uart.js b/uart.js index d64d66e..50ad2d7 100644 --- a/uart.js +++ b/uart.js @@ -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: @@ -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--; } }