~ruther/qmk_firmware

9c955145f50abebcbe5ad5e203a91ca83249fee6 — Fred Sundvik 9 years ago 4d7e4a4
Fix emulator #ifdef check
2 files changed, 2 insertions(+), 2 deletions(-)

M visualizer.c
M visualizer.h
M visualizer.c => visualizer.c +1 -1
@@ 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

M visualizer.h => visualizer.h +1 -1
@@ 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