diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-06-01 09:22:47 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-06-01 09:22:47 +0300 |
commit | 73d890a2c9c34b905cd5e74e7146fdd4578dcb96 (patch) | |
tree | 06c7268ec5d72782666e438557ae8562bf3f5b05 /keyboards/hhkb/matrix.c | |
parent | 489288f67462e0c6fae8e54644af2fa4593e4406 (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 'keyboards/hhkb/matrix.c')
0 files changed, 0 insertions, 0 deletions