summaryrefslogtreecommitdiff
path: root/keyboards/lfkeyboards
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-21 00:41:45 +1100
committerGitHub <noreply@github.com>2022-10-20 14:41:45 +0100
commitaf678521c1d786fe5578f82c2f671f5553b08dfe (patch)
treebff4e343a67e15381b12c87ad98ac36db05cb2b0 /keyboards/lfkeyboards
parent0b41c13509b5547028f141d869e10199566a1228 (diff)
Remove quantum/audio from global VPATH (#18753)
Diffstat (limited to 'keyboards/lfkeyboards')
-rw-r--r--keyboards/lfkeyboards/lfk78/lfk78.c5
-rw-r--r--keyboards/lfkeyboards/lighting.c1
2 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/lfkeyboards/lfk78/lfk78.c b/keyboards/lfkeyboards/lfk78/lfk78.c
index 54a2b45840..6f61d6e2e2 100644
--- a/keyboards/lfkeyboards/lfk78/lfk78.c
+++ b/keyboards/lfkeyboards/lfk78/lfk78.c
@@ -2,11 +2,14 @@
#include <avr/timer_avr.h>
#include <avr/wdt.h>
-#include "audio.h"
#include "issi.h"
#include "TWIlib.h"
#include "lighting.h"
+#ifdef AUDIO_ENABLE
+# include "audio.h"
+#endif
+
uint16_t click_hz = CLICK_HZ;
uint16_t click_time = CLICK_MS;
uint8_t click_toggle = CLICK_ENABLED;
diff --git a/keyboards/lfkeyboards/lighting.c b/keyboards/lfkeyboards/lighting.c
index dcc5c40234..f4940ec079 100644
--- a/keyboards/lfkeyboards/lighting.c
+++ b/keyboards/lfkeyboards/lighting.c
@@ -11,7 +11,6 @@
#include "lighting.h"
#include "debug.h"
#include "rgblight.h"
-#include "audio.h"
extern rgblight_config_t rgblight_config; // Declared in rgblight.c