fixing error

This commit is contained in:
Tanaes 2022-02-05 17:18:29 -05:00
parent 3f9b82a348
commit 4ca77a0fed

View File

@ -480,7 +480,7 @@ class RealOven(Oven):
self.output.time_disp.time(time_left_h,
time_left_m)
if self.output.temp_disp:
self.temp_disp.temp(self.temperature)
self.output.temp_disp.temp(self.board.temp_sensor.temperature)
log.info("temp=%.2f, target=%.2f, pid=%.3f, heat_on=%.2f, heat_off=%.2f, run_time=%d, total_time=%d, time_left=%d" %
(self.board.temp_sensor.temperature + config.thermocouple_offset,