From ed3663a21fdb738f1c500888a876513c683f3095 Mon Sep 17 00:00:00 2001 From: sanni Date: Wed, 17 Nov 2021 21:49:20 +0100 Subject: [PATCH] Fix Progressbar line break on LCD --- Cart_Reader/Cart_Reader.ino | 2 +- Cart_Reader/N64.ino | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cart_Reader/Cart_Reader.ino b/Cart_Reader/Cart_Reader.ino index 59c0a10..4b55b5f 100644 --- a/Cart_Reader/Cart_Reader.ino +++ b/Cart_Reader/Cart_Reader.ino @@ -672,7 +672,7 @@ void draw_progressbar(uint32_t processed, uint32_t total) { // steps are 20, so 20 - 1 = 19. if (i == (19)) { //If end of progress bar, finish progress bar by drawing "]" - print_Msg(F("]")); + println_Msg(F("]")); } else { print_Msg(F("*")); diff --git a/Cart_Reader/N64.ino b/Cart_Reader/N64.ino index b2b9c97..21f8a59 100644 --- a/Cart_Reader/N64.ino +++ b/Cart_Reader/N64.ino @@ -3549,9 +3549,8 @@ redumpsamefolder: myFile.close(); unsigned long timeElapsed = (millis() - startTime) / 1000; // seconds - + print_Msg(F("CRC: ")); - display_Update(); // convert checksum to string char crcStr[9]; sprintf(crcStr, "%08lx", ~oldcrc32);