Fix typo
This commit is contained in:
@@ -43,9 +43,9 @@
|
|||||||
//#define ANYCUBIC_TFT_DEBUG
|
//#define ANYCUBIC_TFT_DEBUG
|
||||||
//#define POWER_OUTAGE_TEST
|
//#define POWER_OUTAGE_TEST
|
||||||
|
|
||||||
#define KNUTWURST_MEGAS
|
//#define KNUTWURST_MEGAS
|
||||||
//#define KNUTWURST_TMC
|
//#define KNUTWURST_TMC
|
||||||
//#define KNUTWURS_DGUS2_TFT
|
//#define KNUTWURST_DGUS2_TFT
|
||||||
//#define KNUTWURST_BLTOUCH
|
//#define KNUTWURST_BLTOUCH
|
||||||
|
|
||||||
|
|
||||||
|
@@ -748,7 +748,7 @@ void AnycubicTouchscreenClass::PrintList()
|
|||||||
|
|
||||||
if (card.flag.filenameIsDir)
|
if (card.flag.filenameIsDir)
|
||||||
{
|
{
|
||||||
#if ENABLED(KNUTWURS_DGUS2_TFT)
|
#if ENABLED(KNUTWURST_DGUS2_TFT)
|
||||||
HARDWARE_SERIAL_PROTOCOLPGM("/");
|
HARDWARE_SERIAL_PROTOCOLPGM("/");
|
||||||
HARDWARE_SERIAL_PROTOCOL(card.filename);
|
HARDWARE_SERIAL_PROTOCOL(card.filename);
|
||||||
HARDWARE_SERIAL_PROTOCOLLNPGM(".GCO");
|
HARDWARE_SERIAL_PROTOCOLLNPGM(".GCO");
|
||||||
@@ -1608,7 +1608,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
|
|||||||
SERIAL_ECHOLNPGM("TFT Serial Debug: Not a menu. Must be a directory!");
|
SERIAL_ECHOLNPGM("TFT Serial Debug: Not a menu. Must be a directory!");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(KNUTWURS_DGUS2_TFT)
|
#if ENABLED(KNUTWURST_DGUS2_TFT)
|
||||||
strcpy(currentFileOrDirectory, currentTouchscreenSelection);
|
strcpy(currentFileOrDirectory, currentTouchscreenSelection);
|
||||||
int currentFileLen = strlen(currentFileOrDirectory);
|
int currentFileLen = strlen(currentFileOrDirectory);
|
||||||
currentFileOrDirectory[currentFileLen - 4] = '\0';
|
currentFileOrDirectory[currentFileLen - 4] = '\0';
|
||||||
|
@@ -33,7 +33,7 @@ char *ftostr32(const float &);
|
|||||||
|
|
||||||
#define TFTBUFSIZE 4
|
#define TFTBUFSIZE 4
|
||||||
#define TFT_MAX_CMD_SIZE 96
|
#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 MAX_PRINTABLE_FILENAME_LEN 30
|
||||||
|
|
||||||
#define ANYCUBIC_TFT_STATE_IDLE 0
|
#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_SDSTOP_REQ 5
|
||||||
#define ANYCUBIC_TFT_STATE_SDOUTAGE 99
|
#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_L "/.."
|
||||||
#define SM_DIR_UP_S ".."
|
#define SM_DIR_UP_S ".."
|
||||||
#define SM_SPECIAL_MENU_L "<Special Menu>"
|
#define SM_SPECIAL_MENU_L "<Special Menu>"
|
||||||
@@ -89,7 +89,7 @@ char *ftostr32(const float &);
|
|||||||
#define SM_EXIT_S "<EXIT_~1.GCO"
|
#define SM_EXIT_S "<EXIT_~1.GCO"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(KNUTWURS_DGUS2_TFT)
|
#if ENABLED(KNUTWURST_DGUS2_TFT)
|
||||||
#define SM_DIR_UP_L "<<<<<<.gcode"
|
#define SM_DIR_UP_L "<<<<<<.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"
|
||||||
|
Reference in New Issue
Block a user