dont compile creality dwin if not enabled

This commit is contained in:
InsanityAutomation
2019-09-05 20:46:59 -04:00
parent 5d24ecb17b
commit 4279b78b17
3 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -31,7 +31,7 @@
//#define Big_UI // Lightweight status screen
//#define GraphicLCD //Full graphics LCD for Ender 4, CR-X or CR10SPro
#define GraphicLCD //Full graphics LCD for Ender 4, CR-X or CR10SPro
//#define ForceCRXDisplay
#define Force10SProDisplay
@@ -116,7 +116,7 @@
//#define ABL_BI
#define ABL_UBL
//#define POWER_LOSS_RECOVERY //Large and does not fit with any other features on Melzi, or UBL on Atmega
#define POWER_LOSS_RECOVERY //Large and does not fit with any other features on Melzi, or UBL on Atmega
/*
Choose a probe grid density below. Faster probes less points, but is less accurate.
@@ -5,6 +5,7 @@
#include <stdio.h>
#include "../ui_api.h"
#if ENABLED(EXTENSIBLE_UI)
namespace ExtUI
{
uint8_t waitway_lock = 0;
@@ -1931,4 +1932,6 @@ void onConfigurationStoreRead(bool success)
rtscheck.RTS_SndData(getZOffset_mm() * 100, 0x1026);
}
} // namespace ExtUI
} // namespace ExtUI
#endif
@@ -3,7 +3,7 @@
#include "string.h"
#include <arduino.h>
#include "../ui_api.h"
#if ENABLED(EXTENSIBLE_UI)
namespace ExtUI {
/*********************************/
#define FHONE (0x5A)
@@ -173,4 +173,5 @@ float targetPos;
}
#ifndef USER_GCODE_1
#define USER_GCODE_1 "G28"
#endif
#endif