From fa1b92fbb10ecf423d0c611ee2a39fca59376a1d Mon Sep 17 00:00:00 2001 From: yiancar Date: Fri, 26 May 2017 21:58:43 +0100 Subject: 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 --- tmk_core/protocol/lufa/lufa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmk_core/protocol') 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) print("Keyboard start.\n"); while (1) { - #if !defined(BLUETOOTH_ENABLE) + #if !defined(NO_USB_STARTUP_CHECK) while (USB_DeviceState == DEVICE_STATE_Suspended) { print("[s]"); suspend_power_down(); -- cgit v1.2.3