Update vcsaDriver.py
This commit is contained in:
parent
16aae3d2b5
commit
8d3e0a3dd0
@ -111,7 +111,7 @@ class driver(screenDriver):
|
|||||||
watchdog.register(vcsa[currScreen], select.POLLPRI | select.POLLERR)
|
watchdog.register(vcsa[currScreen], select.POLLPRI | select.POLLERR)
|
||||||
watchdog.register(tty, select.POLLPRI | select.POLLERR)
|
watchdog.register(tty, select.POLLPRI | select.POLLERR)
|
||||||
while active.value == 1:
|
while active.value == 1:
|
||||||
changes = watchdog.poll(2)
|
changes = watchdog.poll(1)
|
||||||
for change in changes:
|
for change in changes:
|
||||||
fileno = change[0]
|
fileno = change[0]
|
||||||
event = change[1]
|
event = change[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user