1
0
Fork 0

Add callback function for emulator drawing

This commit is contained in:
Fred Sundvik 2016-05-18 09:03:42 +03:00
parent fa8feb21a4
commit 94519e387a
2 changed files with 10 additions and 1 deletions

View file

@ -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