Ver código fonte

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 anos atrás
pai
commit
5b3f60ea2e
3 arquivos alterados com 3 adições e 0 exclusões
  1. 0
    0
      Marlin/BlinkM.cpp
  2. 0
    0
      Marlin/BlinkM.h
  3. 3
    0
      Marlin/ultralcd.cpp

Marlin/BlinkM.__cpp → Marlin/BlinkM.cpp Ver arquivo


Marlin/BlinkM.__h → Marlin/BlinkM.h Ver arquivo


+ 3
- 0
Marlin/ultralcd.cpp Ver arquivo

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

Carregando…
Cancelar
Salvar