diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-06-01 08:22:47 +0200 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-06-01 08:22:47 +0200 |
commit | 73d890a2c9c34b905cd5e74e7146fdd4578dcb96 (patch) | |
tree | 06c7268ec5d72782666e438557ae8562bf3f5b05 /keyboards/alps64/alps64.h | |
parent | 489288f67462e0c6fae8e54644af2fa4593e4406 (diff) | |
download | qmk_firmware-73d890a2c9c34b905cd5e74e7146fdd4578dcb96.tar.gz qmk_firmware-73d890a2c9c34b905cd5e74e7146fdd4578dcb96.tar.xz |
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/alps64/alps64.h')
0 files changed, 0 insertions, 0 deletions