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:
Noah Martin 2017-01-10 23:36:55 -08:00
parent 48c02c6f55
commit 72f3fa6eda

View file

@ -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.