aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/lufa/lufa.c
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@pc-141-133.customer.richmond.vita.lan>2017-05-26 21:58:43 +0100
committeryiancar <yiangosyiangou@pc-141-133.customer.richmond.vita.lan>2017-05-26 21:58:43 +0100
commitfa1b92fbb10ecf423d0c611ee2a39fca59376a1d (patch)
treeda3052f6df6be532f4c663d22c1055b1607219b4 /tmk_core/protocol/lufa/lufa.c
parent7a4ec3bd926865e490fbf7c5ec68d762e998683f (diff)
downloadqmk_firmware-fa1b92fbb10ecf423d0c611ee2a39fca59376a1d.tar.gz
qmk_firmware-fa1b92fbb10ecf423d0c611ee2a39fca59376a1d.zip
Use variable to disable usb check at startup
Adds a define variable which when defined disables the usb startup check. Modified the makefile to separate above define from bluetooth dependancy
Diffstat (limited to 'tmk_core/protocol/lufa/lufa.c')
-rw-r--r--tmk_core/protocol/lufa/lufa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c
index ae6129d1a..3c4ad4b4d 100644
--- a/tmk_core/protocol/lufa/lufa.c
+++ b/tmk_core/protocol/lufa/lufa.c
@@ -1180,7 +1180,7 @@ int main(void)
1180 1180
1181 print("Keyboard start.\n"); 1181 print("Keyboard start.\n");
1182 while (1) { 1182 while (1) {
1183 #if !defined(BLUETOOTH_ENABLE) 1183 #if !defined(NO_USB_STARTUP_CHECK)
1184 while (USB_DeviceState == DEVICE_STATE_Suspended) { 1184 while (USB_DeviceState == DEVICE_STATE_Suspended) {
1185 print("[s]"); 1185 print("[s]");
1186 suspend_power_down(); 1186 suspend_power_down();