mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Initialise idle count properly
This is a field so it should always get initialised in the __init__ function. Fixes #5218.
This commit is contained in:
parent
064e61c262
commit
91dc3713ae
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
|||
self._update_thread = Thread(target = self._update, daemon = True)
|
||||
|
||||
self._last_temperature_request = None # type: Optional[int]
|
||||
self._firmware_idle_count = 0
|
||||
|
||||
self._is_printing = False # A print is being sent.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue