summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-06-17 21:43:20 +1000
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-08-29 14:30:02 -0700
commit3b34858b772cda36fa9988e4d45039ff7ff9146a (patch)
tree0b69f69ba13a4861a72a57617c1af9e53622ee32 /quantum
parente7434c874bcd201906e26aa2ef55ddd3de9cd905 (diff)
Don't compile outputselect.c if Bluetooth is disabled (#9356)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/quantum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 044a156128..9d63f4de27 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -17,7 +17,7 @@
#include <ctype.h>
#include "quantum.h"
-#ifdef PROTOCOL_LUFA
+#ifdef BLUETOOTH_ENABLE
# include "outputselect.h"
#endif
@@ -618,7 +618,7 @@ void matrix_init_quantum() {
#ifdef HAPTIC_ENABLE
haptic_init();
#endif
-#ifdef OUTPUT_AUTO_ENABLE
+#if defined(BLUETOOTH_ENABLE) && defined(OUTPUT_AUTO_ENABLE)
set_output(OUTPUT_AUTO);
#endif