From 1e6a37858d1eff00c46142378e26549cb658b6b1 Mon Sep 17 00:00:00 2001 From: sanni Date: Thu, 5 Sep 2019 22:18:18 +0200 Subject: [PATCH] Update NES.ino --- Cart_Reader/NES.ino | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Cart_Reader/NES.ino b/Cart_Reader/NES.ino index 8dd9869..4a25457 100644 --- a/Cart_Reader/NES.ino +++ b/Cart_Reader/NES.ino @@ -2459,11 +2459,7 @@ void writeRAM () { display_Clear(); if (ramsize == 0) { - LED_RED_ON; - - println_Msg(F("RAM SIZE 0K")); - display_Update(); - + print_Error(F("RAM SIZE 0K"), false); } else { fileBrowser(F("Select RAM File")); @@ -2472,6 +2468,7 @@ void writeRAM () { sd.chdir(); sprintf(filePath, "%s/%s", filePath, fileName); + display_Clear(); println_Msg(F("Writing File: ")); println_Msg(filePath); println_Msg(fileName); @@ -2597,9 +2594,7 @@ void writeRAM () { } else { - LED_RED_ON; - println_Msg(F("SD ERROR")); - display_Update(); + print_Error(F("SD ERROR"), true); } }