Browse Source

Fix emulator #ifdef check

pull/488/head^2
Fred Sundvik 8 years ago
parent
commit
9c955145f5
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      visualizer.c
  2. +1
    -1
      visualizer.h

+ 1
- 1
visualizer.c View File

@ -414,7 +414,7 @@ static DECLARE_THREAD_FUNCTION(visualizerThread, arg) {
gdispGFlush(LED_DISPLAY);
#endif
#if EMULATOR
#ifdef EMULATOR
draw_emulator();
#endif
// The animation can enable the visualizer


+ 1
- 1
visualizer.h View File

@ -51,7 +51,7 @@ GDisplay* get_lcd_display(void);
GDisplay* get_led_display(void);
// For emulator builds, this function need to be implemented
#if EMULATOR
#ifdef EMULATOR
void draw_emulator(void);
#endif


Loading…
Cancel
Save