Sfoglia il codice sorgente

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 anni fa
parent
commit
5b3f60ea2e
3 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 0
    0
      Marlin/BlinkM.cpp
  2. 0
    0
      Marlin/BlinkM.h
  3. 3
    0
      Marlin/ultralcd.cpp

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


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


+ 3
- 0
Marlin/ultralcd.cpp Vedi File

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

Loading…
Annulla
Salva