Don't compile outputselect.c if Bluetooth is disabled (#9356)
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user