This commit is contained in:
Knutwurst
2023-05-30 09:22:25 +02:00
parent 6c4a0a887a
commit ad86d96a31
2 changed files with 3 additions and 10 deletions

View File

@@ -193,7 +193,6 @@
BLTouchMenu = false; BLTouchMenu = false;
LevelMenu = false; LevelMenu = false;
CaseLight = false; CaseLight = false;
MyFileNrCnt = 0;
currentFlowRate = 100; currentFlowRate = 100;
flowRateBuffer = SM_FLOW_DISP_L; flowRateBuffer = SM_FLOW_DISP_L;

View File

@@ -42,14 +42,6 @@ char *itostr2(const uint8_t &x);
#define MSG_MY_VERSION CUSTOM_BUILD_VERSION #define MSG_MY_VERSION CUSTOM_BUILD_VERSION
#define MAX_PRINTABLE_FILENAME_LEN 26 #define MAX_PRINTABLE_FILENAME_LEN 26
#define ANYCUBIC_TFT_STATE_IDLE 0
#define ANYCUBIC_TFT_STATE_SDPRINT 1
#define ANYCUBIC_TFT_STATE_SDPAUSE 2
#define ANYCUBIC_TFT_STATE_SDPAUSE_REQ 3
#define ANYCUBIC_TFT_STATE_SDPAUSE_OOF 4
#define ANYCUBIC_TFT_STATE_SDSTOP_REQ 5
#define ANYCUBIC_TFT_STATE_SDOUTAGE 99
enum AnycubicMediaPrintState { enum AnycubicMediaPrintState {
AMPRINTSTATE_NOT_PRINTING, AMPRINTSTATE_NOT_PRINTING,
AMPRINTSTATE_PRINTING, AMPRINTSTATE_PRINTING,
@@ -253,6 +245,7 @@ enum AnycubicMediaPauseState {
#endif #endif
class AnycubicTouchscreenClass { class AnycubicTouchscreenClass {
public: public:
AnycubicTouchscreenClass(); AnycubicTouchscreenClass();
@@ -267,9 +260,11 @@ void KillTFT();
static void OnPrintTimerStarted(); static void OnPrintTimerStarted();
static void OnPrintTimerPaused(); static void OnPrintTimerPaused();
static void OnPrintTimerStopped(); static void OnPrintTimerStopped();
#if BOTH(ANYCUBIC_TFT_DEBUG, KNUTWURST_DGUS2_TFT) #if BOTH(ANYCUBIC_TFT_DEBUG, KNUTWURST_DGUS2_TFT)
void Command(const char * const command); void Command(const char * const command);
#endif #endif
#if ENABLED(KNUTWURST_TFT_LEVELING) #if ENABLED(KNUTWURST_TFT_LEVELING)
void LevelingDone(); void LevelingDone();
#endif #endif
@@ -332,7 +327,6 @@ char currentTouchscreenSelection[64];
char currentFileOrDirectory[64]; char currentFileOrDirectory[64];
String flowRateBuffer; String flowRateBuffer;
String zOffsetBuffer; String zOffsetBuffer;
uint16_t MyFileNrCnt = 0;
uint8_t FilamentSensorEnabled = true; uint8_t FilamentSensorEnabled = true;
uint8_t SpecialMenu = false; uint8_t SpecialMenu = false;