This commit is contained in:
Knutwurst
2020-07-26 16:25:37 +02:00
parent 813166d705
commit 790c5191c8
3 changed files with 7 additions and 7 deletions

View File

@@ -43,9 +43,9 @@
//#define ANYCUBIC_TFT_DEBUG
//#define POWER_OUTAGE_TEST
#define KNUTWURST_MEGAS
//#define KNUTWURST_MEGAS
//#define KNUTWURST_TMC
//#define KNUTWURS_DGUS2_TFT
//#define KNUTWURST_DGUS2_TFT
//#define KNUTWURST_BLTOUCH

View File

@@ -748,7 +748,7 @@ void AnycubicTouchscreenClass::PrintList()
if (card.flag.filenameIsDir)
{
#if ENABLED(KNUTWURS_DGUS2_TFT)
#if ENABLED(KNUTWURST_DGUS2_TFT)
HARDWARE_SERIAL_PROTOCOLPGM("/");
HARDWARE_SERIAL_PROTOCOL(card.filename);
HARDWARE_SERIAL_PROTOCOLLNPGM(".GCO");
@@ -1608,7 +1608,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
SERIAL_ECHOLNPGM("TFT Serial Debug: Not a menu. Must be a directory!");
#endif
#if ENABLED(KNUTWURS_DGUS2_TFT)
#if ENABLED(KNUTWURST_DGUS2_TFT)
strcpy(currentFileOrDirectory, currentTouchscreenSelection);
int currentFileLen = strlen(currentFileOrDirectory);
currentFileOrDirectory[currentFileLen - 4] = '\0';

View File

@@ -33,7 +33,7 @@ char *ftostr32(const float &);
#define TFTBUFSIZE 4
#define TFT_MAX_CMD_SIZE 96
#define MSG_MY_VERSION "Knutwurst-1.0.7"
#define MSG_MY_VERSION CUSTOM_BUILD_VERSION
#define MAX_PRINTABLE_FILENAME_LEN 30
#define ANYCUBIC_TFT_STATE_IDLE 0
@@ -44,7 +44,7 @@ char *ftostr32(const float &);
#define ANYCUBIC_TFT_STATE_SDSTOP_REQ 5
#define ANYCUBIC_TFT_STATE_SDOUTAGE 99
#if DISABLED(KNUTWURS_DGUS2_TFT)
#if DISABLED(KNUTWURST_DGUS2_TFT)
#define SM_DIR_UP_L "/.."
#define SM_DIR_UP_S ".."
#define SM_SPECIAL_MENU_L "<Special Menu>"
@@ -89,7 +89,7 @@ char *ftostr32(const float &);
#define SM_EXIT_S "<EXIT_~1.GCO"
#endif
#if ENABLED(KNUTWURS_DGUS2_TFT)
#if ENABLED(KNUTWURST_DGUS2_TFT)
#define SM_DIR_UP_L "<<<<<<.gcode"
#define SM_DIR_UP_S "DIR_UP~1.GCO"
#define SM_SPECIAL_MENU_L "<Special Menu>.gcode"