summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-06-17 21:43:20 +1000
committerDrashna Jael're <drashna@live.com>2020-09-30 02:57:16 -0700
commitce09c5c92213958c1aff96c64c022da82ae3058d (patch)
tree3c5c023f86d3af58ce0c8b217c6959f3c8fda4b3 /quantum
parent6e5476c4476862e0d0941d01e989ec593bd57385 (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 7f82b8c655..75db2f7b1a 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
@@ -631,7 +631,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