mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 03:59:33 +06:00
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);
|
||||
#endif
|
||||
|
||||
#if EMULATOR
|
||||
#ifdef EMULATOR
|
||||
draw_emulator();
|
||||
#endif
|
||||
// The animation can enable the visualizer
|
||||
|
@ -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…
Reference in New Issue
Block a user