From 41182a7eb07307e5151218cfa69eaa965e766816 Mon Sep 17 00:00:00 2001 From: smesgr9000 Date: Sat, 25 May 2024 14:25:35 +0200 Subject: add option to clear display and remove duplicate code --- Cart_Reader/FAIRCHILD.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Cart_Reader/FAIRCHILD.ino') diff --git a/Cart_Reader/FAIRCHILD.ino b/Cart_Reader/FAIRCHILD.ino index d2120ac..3b02e94 100644 --- a/Cart_Reader/FAIRCHILD.ino +++ b/Cart_Reader/FAIRCHILD.ino @@ -394,8 +394,7 @@ uint8_t readData_FAIRCHILD() { void readROM_FAIRCHILD() { createFolder("FAIRCHILD", "ROM", romName, "bin"); - display_Clear(); - printAndIncrementFolder(); + printAndIncrementFolder(true); // open file on sdcard if (!myFile.open(fileName, O_RDWR | O_CREAT)) { -- cgit v1.2.3