decrease latency

This commit is contained in:
chrys 2017-09-19 22:51:35 +02:00
parent 4ef72ef42f
commit f50c273a39

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.0005) time.sleep(0.0001)
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})