aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cart_Reader/SMS.ino
diff options
context:
space:
mode:
authorsmesgr9000 <smesgr9000>2024-05-25 14:25:35 +0200
committersmesgr9000 <smesgr9000>2024-05-25 14:25:35 +0200
commit41182a7eb07307e5151218cfa69eaa965e766816 (patch)
tree967fd80feddc3e7d4d7d7b1efed9348d26c613b9 /Cart_Reader/SMS.ino
parent6abe29fcd9b30e45c539876a57634aa840f77a58 (diff)
downloadcartreader-41182a7eb07307e5151218cfa69eaa965e766816.tar.gz
cartreader-41182a7eb07307e5151218cfa69eaa965e766816.zip
add option to clear display and remove duplicate code
Diffstat (limited to 'Cart_Reader/SMS.ino')
-rw-r--r--Cart_Reader/SMS.ino6
1 files changed, 2 insertions, 4 deletions
diff --git a/Cart_Reader/SMS.ino b/Cart_Reader/SMS.ino
index 977ccaa..bc30f0c 100644
--- a/Cart_Reader/SMS.ino
+++ b/Cart_Reader/SMS.ino
@@ -558,8 +558,7 @@ void readROM_SMS() {
createFolder("SG1000", "ROM", romName, "sg");
}
- display_Clear();
- printAndIncrementFolder();
+ printAndIncrementFolder(true);
// Open file on sd card
if (!myFile.open(fileName, O_RDWR | O_CREAT)) {
@@ -650,8 +649,7 @@ void readSRAM_SMS() {
}
createFolder(system, "SAVE", romName, "sav");
- display_Clear();
- printAndIncrementFolder();
+ printAndIncrementFolder(true);
// Create file on sd card
if (myFile.open(fileName, O_RDWR | O_CREAT)) {