Changed old comments to not claim a method does more than it really does, because comments are there to clear up confusion, might as well start here.
poll_temperature and poll_sd_status are called by a RepeatedTimer now, the methods don't re-enqueue themselves.
This commit is contained in:
parent
48c02c6f55
commit
72f3fa6eda
1 changed files with 2 additions and 2 deletions
|
|
@ -1545,7 +1545,7 @@ class MachineCom(object):
|
|||
|
||||
def _poll_temperature(self):
|
||||
"""
|
||||
Polls the temperature after the temperature timeout, re-enqueues itself.
|
||||
Polls the temperature.
|
||||
|
||||
If the printer is not operational, closing the connection, not printing from sd, busy with a long running
|
||||
command or heating, no poll will be done.
|
||||
|
|
@ -1556,7 +1556,7 @@ class MachineCom(object):
|
|||
|
||||
def _poll_sd_status(self):
|
||||
"""
|
||||
Polls the sd printing status after the sd status timeout, re-enqueues itself.
|
||||
Polls the sd printing status.
|
||||
|
||||
If the printer is not operational, closing the connection, not printing from sd, busy with a long running
|
||||
command or heating, no poll will be done.
|
||||
|
|
|
|||
Loading…
Reference in a new issue