reset induction heater on exit
This commit is contained in:
parent
946eb113bb
commit
2c05dda88a
|
@ -100,6 +100,7 @@ class InductionHeater:
|
|||
self.queue.put(amount, block=False)
|
||||
|
||||
def stop(self):
|
||||
self.queue.put(0.0, block=True)
|
||||
self.queue.put(None, block=True)
|
||||
self.thread.join()
|
||||
self.serial.close()
|
||||
|
|
Loading…
Reference in New Issue