diff options
Diffstat (limited to 'klippy/extras/hall_filament_width_sensor.py')
-rw-r--r-- | klippy/extras/hall_filament_width_sensor.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/klippy/extras/hall_filament_width_sensor.py b/klippy/extras/hall_filament_width_sensor.py index c71b2b2e..865e49af 100644 --- a/klippy/extras/hall_filament_width_sensor.py +++ b/klippy/extras/hall_filament_width_sensor.py @@ -209,10 +209,12 @@ class HallFilamentWidthSensor: +self.lastFilamentWidthReading2)) gcmd.respond_info(response) def get_status(self, eventtime): - return {'Diameter': self.diameter, + status = self.runout_helper.get_status(eventtime) + status.update({'Diameter': self.diameter, 'Raw':(self.lastFilamentWidthReading+ self.lastFilamentWidthReading2), - 'is_active':self.is_active} + 'is_active':self.is_active}) + return status def cmd_log_enable(self, gcmd): self.is_log = True gcmd.respond_info("Filament width logging Turned On") |