Add debug define
This commit is contained in:
@@ -685,12 +685,14 @@ void AnycubicTouchscreenClass::PrintList()
|
||||
|
||||
for (count = filenumber; count <= max_files; count++)
|
||||
{
|
||||
#ifdef ANYCUBIC_TFT_DEBUG
|
||||
SERIAL_ECHOPGM("filenumber: ");
|
||||
SERIAL_ECHOLN(filenumber);
|
||||
SERIAL_ECHOPGM("max_files: ");
|
||||
SERIAL_ECHOLN(max_files);
|
||||
SERIAL_ECHOPGM("count: ");
|
||||
SERIAL_ECHOLN(count);
|
||||
#endif
|
||||
|
||||
if (count == 0) // Special Entry
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ char *ftostr32(const float &);
|
||||
#define TFTBUFSIZE 4
|
||||
#define TFT_MAX_CMD_SIZE 96
|
||||
#define MSG_MY_VERSION "Knutwurst-1.0.7"
|
||||
#define MAX_PRINTABLE_FILENAME_LEN 64
|
||||
#define MAX_PRINTABLE_FILENAME_LEN 96
|
||||
|
||||
#define ANYCUBIC_TFT_STATE_IDLE 0
|
||||
#define ANYCUBIC_TFT_STATE_SDPRINT 1
|
||||
|
Reference in New Issue
Block a user