diff options
| author | Fred Sundvik <fsundvik@gmail.com> | 2016-05-18 09:03:42 +0300 |
|---|---|---|
| committer | Fred Sundvik <fsundvik@gmail.com> | 2016-05-18 09:03:42 +0300 |
| commit | 94519e387a85e3b4ab72bd7d837ff590cc690eb9 (patch) | |
| tree | 7e9907f2a368727f462161b944b9a1d6f0edfefb /visualizer.c | |
| parent | fa8feb21a4709dba552df4a96205c50a319f5e3b (diff) | |
| download | qmk_firmware-94519e387a85e3b4ab72bd7d837ff590cc690eb9.tar.gz qmk_firmware-94519e387a85e3b4ab72bd7d837ff590cc690eb9.zip | |
Add callback function for emulator drawing
Diffstat (limited to 'visualizer.c')
| -rw-r--r-- | visualizer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/visualizer.c b/visualizer.c index bbb00debc..607a64566 100644 --- a/visualizer.c +++ b/visualizer.c | |||
| @@ -413,6 +413,10 @@ static DECLARE_THREAD_FUNCTION(visualizerThread, arg) { | |||
| 413 | #ifdef LED_ENABLE | 413 | #ifdef LED_ENABLE |
| 414 | gdispGFlush(LED_DISPLAY); | 414 | gdispGFlush(LED_DISPLAY); |
| 415 | #endif | 415 | #endif |
| 416 | |||
| 417 | #if EMULATOR | ||
| 418 | draw_emulator(); | ||
| 419 | #endif | ||
| 416 | // The animation can enable the visualizer | 420 | // The animation can enable the visualizer |
| 417 | // And we might need to update the state when that happens | 421 | // And we might need to update the state when that happens |
| 418 | // so don't sleep | 422 | // so don't sleep |
