Fix emulator #ifdef check
This commit is contained in:
parent
4d7e4a4780
commit
9c955145f5
|
@ -414,7 +414,7 @@ static DECLARE_THREAD_FUNCTION(visualizerThread, arg) {
|
||||||
gdispGFlush(LED_DISPLAY);
|
gdispGFlush(LED_DISPLAY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if EMULATOR
|
#ifdef EMULATOR
|
||||||
draw_emulator();
|
draw_emulator();
|
||||||
#endif
|
#endif
|
||||||
// The animation can enable the visualizer
|
// The animation can enable the visualizer
|
||||||
|
|
|
@ -51,7 +51,7 @@ GDisplay* get_lcd_display(void);
|
||||||
GDisplay* get_led_display(void);
|
GDisplay* get_led_display(void);
|
||||||
|
|
||||||
// For emulator builds, this function need to be implemented
|
// For emulator builds, this function need to be implemented
|
||||||
#if EMULATOR
|
#ifdef EMULATOR
|
||||||
void draw_emulator(void);
|
void draw_emulator(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue