Browse Source

Fix compiling with just an 16x2 LCD and no buttons.

daid303 12 years ago
parent
commit
6731c094ee
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -835,7 +835,7 @@ void process_commands()
835 835
   {
836 836
     switch( (int)code_value() ) 
837 837
     {
838
-#ifdef ULTRA_LCD
838
+#ifdef ULTIPANEL
839 839
     case 0: // M0 - Unconditional stop - Wait for user button press on LCD
840 840
     case 1: // M1 - Conditional stop - Wait for user button press on LCD
841 841
     {

Loading…
Cancel
Save