Skip to content

Commit

Permalink
use correct name
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipthelen committed Apr 25, 2024
1 parent 109944b commit f27fa28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions display.py
Original file line number Diff line number Diff line change
Expand Up @@ -1163,19 +1163,19 @@ def handle_status_update(self, new_data, data_mapping=None):
if "extruder" in new_data:
if "target" in new_data["extruder"]:
self.printing_target_temps["extruder"] = new_data["extruder"]["target"]
self.printer_heating_value_changed("extruder", new_data["extruder"]["temperature"])
self.printer_heating_value_changed("extruder", new_data["extruder"]["target"])
if "heater_generic heater_bed" in new_data:
if "target" in new_data["heater_bed"]:
self.printing_target_temps["heater_bed"] = new_data[
"heater_generic heater_bed"
]["target"]
self.printer_heating_value_changed("heater_bed", new_data["heater_generic heater_bed"]["temperature"])
self.printer_heating_value_changed("heater_bed", new_data["heater_generic heater_bed"]["target"])
if "heater_generic heater_bed_outer" in new_data:
if "target" in new_data["heater_generic heater_bed_outer"]:
self.printing_target_temps["heater_bed_outer"] = new_data[
"heater_generic heater_bed_outer"
]["target"]
self.printer_heating_value_changed("heater_bed_outer", new_data["heater_generic heater_bed_outer"]["temperature"])
self.printer_heating_value_changed("heater_bed_outer", new_data["heater_generic heater_bed_outer"]["target"])

if "gcode_move" in new_data:
if "extrude_factor" in new_data["gcode_move"]:
Expand Down

0 comments on commit f27fa28

Please sign in to comment.