Quellcode durchsuchen

Merge pull request #1439 from clefranc/Development

Fix nozzle in temperature menu
Scott Lahteine vor 9 Jahren
Ursprung
Commit
5fd5105d44
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3
    3
      Marlin/ultralcd.cpp

+ 3
- 3
Marlin/ultralcd.cpp Datei anzeigen

@@ -811,13 +811,13 @@ static void lcd_control_temperature_menu()
811 811
 #if TEMP_SENSOR_0 != 0
812 812
   MENU_ITEM_EDIT(int3, MSG_NOZZLE, &target_temperature[0], 0, HEATER_0_MAXTEMP - 15);
813 813
 #endif
814
-#if TEMP_SENSOR_1 != 0
814
+#if TEMP_SENSOR_1 != 0 && EXTRUDERS > 1
815 815
   MENU_ITEM_EDIT(int3, MSG_NOZZLE " 2", &target_temperature[1], 0, HEATER_1_MAXTEMP - 15);
816 816
 #endif
817
-#if TEMP_SENSOR_2 != 0
817
+#if TEMP_SENSOR_2 != 0 && EXTRUDERS > 2
818 818
   MENU_ITEM_EDIT(int3, MSG_NOZZLE " 3", &target_temperature[2], 0, HEATER_2_MAXTEMP - 15);
819 819
 #endif
820
-#if TEMP_SENSOR_3 != 0
820
+#if TEMP_SENSOR_3 != 0 && EXTRUDERS > 3
821 821
   MENU_ITEM_EDIT(int3, MSG_NOZZLE " 4", &target_temperature[3], 0, HEATER_3_MAXTEMP - 15);
822 822
 #endif
823 823
 #if TEMP_SENSOR_BED != 0

Laden…
Abbrechen
Speichern