Fix for #197 Print Menu file list, when there were exactely 3 files or folders on the sd card. This was caused by a misinterpreted comparision between uint16_t and integer.

This commit is contained in:
Knutwurst
2021-09-17 21:28:42 +02:00
parent f8208b7e5e
commit ad974e176c
3 changed files with 38 additions and 32 deletions

View File

@@ -281,7 +281,7 @@ private:
int serial3_count = 0;
char *TFTstrchr_pointer;
char FlagResumFromOutage = 0;
uint16_t filenumber = 0;
int filenumber = 0;
unsigned long starttime = 0;
unsigned long stoptime = 0;
uint8_t tmp_extruder = 0;