mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-24 05:29:17 +01:00
Fix Progressbar line break on LCD
This commit is contained in:
parent
7d49814fee
commit
ed3663a21f
@ -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("*"));
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user