summaryrefslogtreecommitdiffstats
path: root/visualizer.c
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-05-18 09:03:42 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-05-18 09:03:42 +0300
commit94519e387a85e3b4ab72bd7d837ff590cc690eb9 (patch)
tree7e9907f2a368727f462161b944b9a1d6f0edfefb /visualizer.c
parentfa8feb21a4709dba552df4a96205c50a319f5e3b (diff)
Add callback function for emulator drawing
Diffstat (limited to 'visualizer.c')
-rw-r--r--visualizer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/visualizer.c b/visualizer.c
index bbb00debcf..607a64566a 100644
--- a/visualizer.c
+++ b/visualizer.c
@@ -413,6 +413,10 @@ static DECLARE_THREAD_FUNCTION(visualizerThread, arg) {
#ifdef LED_ENABLE
gdispGFlush(LED_DISPLAY);
#endif
+
+#if EMULATOR
+ draw_emulator();
+#endif
// The animation can enable the visualizer
// And we might need to update the state when that happens
// so don't sleep