summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-08-31 12:39:53 -0400
committerJack Humbert <jack.humb@gmail.com>2015-08-31 12:39:53 -0400
commited384bd4376398887a95942b7d6750d5bc4833e8 (patch)
tree004cdce88ebd1967a4abe53b53cc04b31d42cbae /protocol
parent91176d854b8c9e49e88d494ba02c8e9c54fec914 (diff)
beeps update
Diffstat (limited to 'protocol')
-rw-r--r--protocol/lufa/lufa.c13
1 files changed, 7 insertions, 6 deletions
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 */