From: Tommy Cheng Date: Fri, 23 Mar 2012 18:26:59 +0000 (+0800) Subject: Fix compilation error when PIDTEMP is undefined and ULTIPANEL is defined. X-Git-Tag: iwj-success-2012-07-29~48^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=520f1a54a89a2f6c9986ee84566a65a60bccf868;p=marlin.git Fix compilation error when PIDTEMP is undefined and ULTIPANEL is defined. --- diff --git a/Marlin/ultralcd.pde b/Marlin/ultralcd.pde index c1214b5..e388890 100644 --- a/Marlin/ultralcd.pde +++ b/Marlin/ultralcd.pde @@ -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: