decrease latency

This commit is contained in:
chrys 2017-09-19 22:46:08 +02:00
parent 91120176c3
commit 4ef72ef42f

View File

@ -165,7 +165,7 @@ class driver():
screenContent = dirtyContent screenContent = dirtyContent
if time.time() - timeout >= 0.4: if time.time() - timeout >= 0.4:
break break
time.sleep(0.005) time.sleep(0.0005)
vcsa[currScreen].seek(0) vcsa[currScreen].seek(0)
dirtyContent = vcsa[currScreen].read() dirtyContent = vcsa[currScreen].read()
eventQueue.put({"Type":fenrirEventType.ScreenUpdate,"Data":None}) eventQueue.put({"Type":fenrirEventType.ScreenUpdate,"Data":None})