diff options
| author | Ryan <fauxpark@gmail.com> | 2020-06-17 21:43:20 +1000 |
|---|---|---|
| committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2020-08-29 14:30:02 -0700 |
| commit | 3b34858b772cda36fa9988e4d45039ff7ff9146a (patch) | |
| tree | 0b69f69ba13a4861a72a57617c1af9e53622ee32 /quantum | |
| parent | e7434c874bcd201906e26aa2ef55ddd3de9cd905 (diff) | |
| download | qmk_firmware-3b34858b772cda36fa9988e4d45039ff7ff9146a.tar.gz qmk_firmware-3b34858b772cda36fa9988e4d45039ff7ff9146a.zip | |
Don't compile outputselect.c if Bluetooth is disabled (#9356)
Diffstat (limited to 'quantum')
| -rw-r--r-- | quantum/quantum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 044a15612..9d63f4de2 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
| @@ -17,7 +17,7 @@ | |||
| 17 | #include <ctype.h> | 17 | #include <ctype.h> |
| 18 | #include "quantum.h" | 18 | #include "quantum.h" |
| 19 | 19 | ||
| 20 | #ifdef PROTOCOL_LUFA | 20 | #ifdef BLUETOOTH_ENABLE |
| 21 | # include "outputselect.h" | 21 | # include "outputselect.h" |
| 22 | #endif | 22 | #endif |
| 23 | 23 | ||
| @@ -618,7 +618,7 @@ void matrix_init_quantum() { | |||
| 618 | #ifdef HAPTIC_ENABLE | 618 | #ifdef HAPTIC_ENABLE |
| 619 | haptic_init(); | 619 | haptic_init(); |
| 620 | #endif | 620 | #endif |
| 621 | #ifdef OUTPUT_AUTO_ENABLE | 621 | #if defined(BLUETOOTH_ENABLE) && defined(OUTPUT_AUTO_ENABLE) |
| 622 | set_output(OUTPUT_AUTO); | 622 | set_output(OUTPUT_AUTO); |
| 623 | #endif | 623 | #endif |
| 624 | 624 | ||
