Browse Source

fixed another !defined(PIDTEMP) compile in ultralcd.cpp

lajos 12 years ago
parent
commit
b519af4f05
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/ultralcd.cpp

+ 2
- 0
Marlin/ultralcd.cpp View File

@@ -505,9 +505,11 @@ static void lcd_control_menu()
505 505
 
506 506
 static void lcd_control_temperature_menu()
507 507
 {
508
+#ifdef PIDTEMP
508 509
     // set up temp variables - undo the default scaling
509 510
     raw_Ki = unscalePID_i(Ki);
510 511
     raw_Kd = unscalePID_d(Kd);
512
+#endif
511 513
 
512 514
     START_MENU();
513 515
     MENU_ITEM(back, MSG_CONTROL, lcd_control_menu);

Loading…
Cancel
Save