chiark / gitweb /
Fix compilation error when PIDTEMP is undefined and ULTIPANEL is defined.
authorTommy Cheng <tommy.cheng@gmail.com>
Fri, 23 Mar 2012 18:26:59 +0000 (02:26 +0800)
committerTommy Cheng <tommy.cheng@gmail.com>
Fri, 23 Mar 2012 18:26:59 +0000 (02:26 +0800)
Marlin/ultralcd.pde

index c1214b59f0407a571e12cec12ad6acab0933241f..e3888903f8e4b16c6611a7fd12756062daa6bece 100644 (file)
@@ -1181,6 +1181,7 @@ void MainMenu::showControlTemp()
         }
         
       }break;
+       #ifdef PIDTEMP
       case ItemCT_PID_P: 
       {
       if(force_lcd_update)
@@ -1323,6 +1324,7 @@ void MainMenu::showControlTemp()
         }
         
       }
+       #endif
       #endif
       break;
     default: