Prevent status polling to generate an error while PLC is being reset to bootloader mode
authoredouard
Thu, 17 Feb 2011 17:04:10 +0100
changeset 574 1b6bd9f590aa
parent 573 f0c5fc74018d
child 575 6765adf58711
Prevent status polling to generate an error while PLC is being reset to bootloader mode
LPCBeremiz.py
--- a/LPCBeremiz.py	Thu Feb 17 16:38:42 2011 +0100
+++ b/LPCBeremiz.py	Thu Feb 17 17:04:10 2011 +0100
@@ -808,7 +808,7 @@
             
             else:
                 self.logger.write(_("Resetting PLC\n"))
-                
+                self.StatusTimer.Stop()
                 self.LPCConnector.ResetPLC()
                 self.AbortTransferTimer.Start(milliseconds=5000, oneShot=True)