aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/lufa/outputselect.c
diff options
context:
space:
mode:
authorHugh Enxing <henxing@draper.com>2017-03-28 12:11:49 -0400
committerHugh Enxing <henxing@draper.com>2017-03-28 12:11:49 -0400
commit3fdc45b4e9581c823ac09545241241e0c6d3f313 (patch)
treef17c050672086233a2de4e4c8d0ba72c5bd87841 /tmk_core/protocol/lufa/outputselect.c
parent25f2295ba88627521bed63ec4e5412b983626901 (diff)
parent5e4daf1c6db980fad269fe7b013205008bfe701e (diff)
downloadfirmware-3fdc45b4e9581c823ac09545241241e0c6d3f313.tar.gz
firmware-3fdc45b4e9581c823ac09545241241e0c6d3f313.tar.bz2
firmware-3fdc45b4e9581c823ac09545241241e0c6d3f313.zip
Merge branch 'master' into default_atreus_layout
Diffstat (limited to 'tmk_core/protocol/lufa/outputselect.c')
-rw-r--r--tmk_core/protocol/lufa/outputselect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmk_core/protocol/lufa/outputselect.c b/tmk_core/protocol/lufa/outputselect.c
index 5d2457bff..0df5d3b75 100644
--- a/tmk_core/protocol/lufa/outputselect.c
+++ b/tmk_core/protocol/lufa/outputselect.c
@@ -14,7 +14,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "lufa.h"
#include "outputselect.h"
-#ifdef ADAFRUIT_BLE_ENABLE
+#ifdef MODULE_ADAFRUIT_BLE
#include "adafruit_ble.h"
#endif
@@ -34,9 +34,9 @@ uint8_t auto_detect_output(void) {
return OUTPUT_USB;
}
-#ifdef ADAFRUIT_BLE_ENABLE
+#ifdef MODULE_ADAFRUIT_BLE
if (adafruit_ble_is_connected()) {
- return OUTPUT_ADAFRUIT_BLE;
+ return OUTPUT_BLUETOOTH;
}
#endif