Browse Source

Corrected LCD only error

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

Added conditional compilation.
fmalpartida 11 years ago
parent
commit
5b3f60ea2e
3 changed files with 3 additions and 0 deletions
  1. 0
    0
      Marlin/BlinkM.cpp
  2. 0
    0
      Marlin/BlinkM.h
  3. 3
    0
      Marlin/ultralcd.cpp

Marlin/BlinkM.__cpp → Marlin/BlinkM.cpp View File


Marlin/BlinkM.__h → Marlin/BlinkM.h View File


+ 3
- 0
Marlin/ultralcd.cpp View File

19
 int absPreheatHPBTemp;
19
 int absPreheatHPBTemp;
20
 int absPreheatFanSpeed;
20
 int absPreheatFanSpeed;
21
 
21
 
22
+#ifdef ULTIPANEL
22
 static float manual_feedrate[] = MANUAL_FEEDRATE;
23
 static float manual_feedrate[] = MANUAL_FEEDRATE;
24
+#endif // ULTIPANEL
25
+
23
 /* !Configuration settings */
26
 /* !Configuration settings */
24
 
27
 
25
 //Function pointer to menu functions.
28
 //Function pointer to menu functions.

Loading…
Cancel
Save