1
0
Fork 0

Don't compile outputselect.c if Bluetooth is disabled (#9356)

This commit is contained in:
Ryan 2020-06-17 21:43:20 +10:00 committed by James Young
parent e7434c874b
commit 3b34858b77
3 changed files with 23 additions and 18 deletions

View file

@ -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