Corrected LCD only error

If only an LCD is defined and no menu or keyboard defined, there is a
compilation error.

Added conditional compilation.
This commit is contained in:
fmalpartida 2013-10-30 21:52:46 +01:00
parent b5a964fcc5
commit 5b3f60ea2e
3 changed files with 3 additions and 0 deletions

View file

@ -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.