summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/ps2_io.h
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-06-01 09:22:47 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-06-01 09:22:47 +0300
commit73d890a2c9c34b905cd5e74e7146fdd4578dcb96 (patch)
tree06c7268ec5d72782666e438557ae8562bf3f5b05 /tmk_core/protocol/ps2_io.h
parent489288f67462e0c6fae8e54644af2fa4593e4406 (diff)
Fix visualizer sleeping too long
The documentation for ugfx gEventWait wait is wrong and the function takes the time in milliseconds, instead of system ticks. This caused the the thread to sleep way too long. It also caused somewhat random sleeping behaviour as the MS2ST function overflows at around 43 seconds sleep. The event source is also now initialized correctly, so that the thread actually can be woken up by events.
Diffstat (limited to 'tmk_core/protocol/ps2_io.h')
0 files changed, 0 insertions, 0 deletions