aboutsummaryrefslogtreecommitdiffstats
path: root/led_test.c
diff options
context:
space:
mode:
authorGravatar Fred Sundvik <fsundvik@gmail.com>2016-06-01 09:22:47 +0300
committerGravatar Fred Sundvik <fsundvik@gmail.com>2016-06-01 09:22:47 +0300
commit73d890a2c9c34b905cd5e74e7146fdd4578dcb96 (patch)
tree06c7268ec5d72782666e438557ae8562bf3f5b05 /led_test.c
parent489288f67462e0c6fae8e54644af2fa4593e4406 (diff)
downloadqmk_firmware-73d890a2c9c34b905cd5e74e7146fdd4578dcb96.tar.gz
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 'led_test.c')
0 files changed, 0 insertions, 0 deletions