Don't compile outputselect.c if Bluetooth is disabled (#9356)
This commit is contained in:
parent
e7434c874b
commit
3b34858b77
3 changed files with 23 additions and 18 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue