Commit 7264c5e1 authored by D1plo1d's avatar D1plo1d

Adding a sleep to the pronserve startup. Seems to be fixing an intermittent...

Adding a sleep to the pronserve startup. Seems to be fixing an intermittent bug where the printer wouldn't respond to temperature requests
parent b9a358a6
...@@ -231,6 +231,8 @@ class Pronserve(pronsole.pronsole): ...@@ -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__":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment