From 5b3f60ea2e15bd2b37d3f94052da084f5e0a8178 Mon Sep 17 00:00:00 2001 From: fmalpartida Date: Wed, 30 Oct 2013 21:52:46 +0100 Subject: [PATCH] Corrected LCD only error If only an LCD is defined and no menu or keyboard defined, there is a compilation error. Added conditional compilation. --- Marlin/{BlinkM.__cpp => BlinkM.cpp} | 0 Marlin/{BlinkM.__h => BlinkM.h} | 0 Marlin/ultralcd.cpp | 3 +++ 3 files changed, 3 insertions(+) rename Marlin/{BlinkM.__cpp => BlinkM.cpp} (100%) rename Marlin/{BlinkM.__h => BlinkM.h} (100%) diff --git a/Marlin/BlinkM.__cpp b/Marlin/BlinkM.cpp similarity index 100% rename from Marlin/BlinkM.__cpp rename to Marlin/BlinkM.cpp diff --git a/Marlin/BlinkM.__h b/Marlin/BlinkM.h similarity index 100% rename from Marlin/BlinkM.__h rename to Marlin/BlinkM.h diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index 3e3cabc1e7..e3e2556fab 100644 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -19,7 +19,10 @@ int absPreheatHotendTemp; int absPreheatHPBTemp; int absPreheatFanSpeed; +#ifdef ULTIPANEL static float manual_feedrate[] = MANUAL_FEEDRATE; +#endif // ULTIPANEL + /* !Configuration settings */ //Function pointer to menu functions.