]> git.donarmstrong.com Git - qmk_firmware.git/commit
Fix visualizer sleeping too long
authorFred Sundvik <fsundvik@gmail.com>
Wed, 1 Jun 2016 06:22:47 +0000 (09:22 +0300)
committerFred Sundvik <fsundvik@gmail.com>
Wed, 1 Jun 2016 06:22:47 +0000 (09:22 +0300)
commit73d890a2c9c34b905cd5e74e7146fdd4578dcb96
tree06c7268ec5d72782666e438557ae8562bf3f5b05
parent489288f67462e0c6fae8e54644af2fa4593e4406
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.
visualizer.c