summaryrefslogtreecommitdiffstats
path: root/quantum/quantum.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/quantum.c')
-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