Adding a sleep to the pronserve startup. Seems to be fixing an intermittent bug where the printer wouldn't respond to temperature requests
parent
b9a358a6a6
commit
7264c5e1c6
|
@ -231,6 +231,8 @@ class Pronserve(pronsole.pronsole):
|
||||||
print "Pronserve is starting..."
|
print "Pronserve is starting..."
|
||||||
pronserve = Pronserve()
|
pronserve = Pronserve()
|
||||||
pronserve.do_connect("")
|
pronserve.do_connect("")
|
||||||
|
|
||||||
|
time.sleep(0.2)
|
||||||
pronserve.run_sensor_loop()
|
pronserve.run_sensor_loop()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue