From ed384bd4376398887a95942b7d6750d5bc4833e8 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Mon, 31 Aug 2015 12:39:53 -0400 Subject: beeps update --- protocol/lufa/lufa.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'protocol') diff --git a/protocol/lufa/lufa.c b/protocol/lufa/lufa.c index 3ec476928c..c6e6e95054 100644 --- a/protocol/lufa/lufa.c +++ b/protocol/lufa/lufa.c @@ -829,6 +829,7 @@ int main(void) midi_register_cc_callback(&midi_device, cc_callback); midi_register_sysex_callback(&midi_device, sysex_callback); + init_notes(); // midi_send_cc(&midi_device, 0, 1, 2); // midi_send_cc(&midi_device, 15, 1, 0); // midi_send_noteon(&midi_device, 0, 64, 127); @@ -837,13 +838,13 @@ int main(void) /* wait for USB startup & debug output */ - while (USB_DeviceState != DEVICE_STATE_Configured) { -#if defined(INTERRUPT_CONTROL_ENDPOINT) - ; -#else + // while (USB_DeviceState != DEVICE_STATE_Configured) { +// #if defined(INTERRUPT_CONTROL_ENDPOINT) + // ; +// #else USB_USBTask(); -#endif - } +// #endif + // } print("USB configured.\n"); /* init modules */ -- cgit v1.2.3