Fix Progressbar line break on LCD

This commit is contained in:
sanni 2021-11-17 21:49:20 +01:00
parent 7d49814fee
commit ed3663a21f
2 changed files with 2 additions and 3 deletions

View File

@ -672,7 +672,7 @@ void draw_progressbar(uint32_t processed, uint32_t total) {
// steps are 20, so 20 - 1 = 19. // steps are 20, so 20 - 1 = 19.
if (i == (19)) { if (i == (19)) {
//If end of progress bar, finish progress bar by drawing "]" //If end of progress bar, finish progress bar by drawing "]"
print_Msg(F("]")); println_Msg(F("]"));
} }
else { else {
print_Msg(F("*")); print_Msg(F("*"));

View File

@ -3551,7 +3551,6 @@ redumpsamefolder:
unsigned long timeElapsed = (millis() - startTime) / 1000; // seconds unsigned long timeElapsed = (millis() - startTime) / 1000; // seconds
print_Msg(F("CRC: ")); print_Msg(F("CRC: "));
display_Update();
// convert checksum to string // convert checksum to string
char crcStr[9]; char crcStr[9];
sprintf(crcStr, "%08lx", ~oldcrc32); sprintf(crcStr, "%08lx", ~oldcrc32);