diff options
| author | Fred Sundvik <fsundvik@gmail.com> | 2016-05-29 02:08:46 +0300 |
|---|---|---|
| committer | Fred Sundvik <fsundvik@gmail.com> | 2016-05-29 02:08:46 +0300 |
| commit | 9c955145f50abebcbe5ad5e203a91ca83249fee6 (patch) | |
| tree | 89788ea260abc75d5b8f2af335968aa70e89ef4b | |
| parent | 4d7e4a4780bc779a3960497a9084ef6c9d6ef87e (diff) | |
| download | qmk_firmware-9c955145f50abebcbe5ad5e203a91ca83249fee6.tar.gz qmk_firmware-9c955145f50abebcbe5ad5e203a91ca83249fee6.zip | |
Fix emulator #ifdef check
| -rw-r--r-- | visualizer.c | 2 | ||||
| -rw-r--r-- | visualizer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/visualizer.c b/visualizer.c index 607a64566..0e587221f 100644 --- a/visualizer.c +++ b/visualizer.c | |||
| @@ -414,7 +414,7 @@ static DECLARE_THREAD_FUNCTION(visualizerThread, arg) { | |||
| 414 | gdispGFlush(LED_DISPLAY); | 414 | gdispGFlush(LED_DISPLAY); |
| 415 | #endif | 415 | #endif |
| 416 | 416 | ||
| 417 | #if EMULATOR | 417 | #ifdef EMULATOR |
| 418 | draw_emulator(); | 418 | draw_emulator(); |
| 419 | #endif | 419 | #endif |
| 420 | // The animation can enable the visualizer | 420 | // The animation can enable the visualizer |
diff --git a/visualizer.h b/visualizer.h index a3828e35f..45cfa9aa9 100644 --- a/visualizer.h +++ b/visualizer.h | |||
| @@ -51,7 +51,7 @@ GDisplay* get_lcd_display(void); | |||
| 51 | GDisplay* get_led_display(void); | 51 | GDisplay* get_led_display(void); |
| 52 | 52 | ||
| 53 | // For emulator builds, this function need to be implemented | 53 | // For emulator builds, this function need to be implemented |
| 54 | #if EMULATOR | 54 | #ifdef EMULATOR |
| 55 | void draw_emulator(void); | 55 | void draw_emulator(void); |
| 56 | #endif | 56 | #endif |
| 57 | 57 | ||
