- fixed start timer with 0

git-svn-id: http://moon:8086/svn/projects/HendiControl@373 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2020-04-20 11:46:13 +00:00
parent 3f55d663a8
commit 21f1a38dd5
+1 -1
View File
@@ -17,7 +17,7 @@ class Timer(object):
self.interval = interval
self.mode = mode
self.elapseTime = now + interval
self.isActive = self.elapseTime > now
self.isActive = self.elapseTime >= now
pass
def stop(self):