Some minor Touchscreen fixes

This commit is contained in:
Knutwurst
2020-08-22 14:44:01 +02:00
parent f663765c7e
commit 810526e377
2 changed files with 3 additions and 3 deletions

View File

@@ -731,8 +731,8 @@ void AnycubicTouchscreenClass::PrintList()
// Cut off too long filenames. // Cut off too long filenames.
// They don't fit on the screen anyways. // They don't fit on the screen anyways.
if(fileNameLen > MAX_PRINTABLE_FILENAME_LEN) //if(fileNameLen > MAX_PRINTABLE_FILENAME_LEN)
fileNameLen = MAX_PRINTABLE_FILENAME_LEN; // fileNameLen = MAX_PRINTABLE_FILENAME_LEN;
char outputString[fileNameLen]; char outputString[fileNameLen];

View File

@@ -90,7 +90,7 @@ char *ftostr32(const float &);
#endif #endif
#if ENABLED(KNUTWURST_DGUS2_TFT) #if ENABLED(KNUTWURST_DGUS2_TFT)
#define SM_DIR_UP_L "<<<<<<.gcode" #define SM_DIR_UP_L "<<< BACK <<<.gcode"
#define SM_DIR_UP_S "DIR_UP~1.GCO" #define SM_DIR_UP_S "DIR_UP~1.GCO"
#define SM_SPECIAL_MENU_L "<Special Menu>.gcode" #define SM_SPECIAL_MENU_L "<Special Menu>.gcode"
#define SM_SPECIAL_MENU_S "<SPECI~1.GCO" #define SM_SPECIAL_MENU_S "<SPECI~1.GCO"