basic support for extruder_stepper

This commit is contained in:
alfrix
2022-06-21 13:51:09 -03:00
committed by Alfredo Monclus
parent c6df1b667c
commit 5a02ac75ae
5 changed files with 19 additions and 18 deletions

View File

@@ -27,12 +27,14 @@ class TemperaturePanel(ScreenPanel):
# When printing start in temp_delta mode and only select tools
state = self._printer.get_state()
logging.info(state)
selection = []
if "extruder" in self._printer.get_tools():
selection.append("extruder")
if state not in ["printing", "paused"]:
self.show_preheat = True
selection = self._printer.get_tools() + self._printer.get_heaters()
selection.extend(self._printer.get_heaters())
else:
self.show_preheat = False
selection = self._printer.get_tools()
# Select heaters
for h in selection: