Skip to content

Commit

Permalink
Corrected LCD only error
Browse files Browse the repository at this point in the history
If only an LCD is defined and no menu or keyboard defined, there is a
compilation error.

Added conditional compilation.
  • Loading branch information
fmalpartida committed Oct 30, 2013
1 parent b5a964f commit 5b3f60e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions Marlin/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5b3f60e

Please sign in to comment.