1
0
Fork 0

quantum separated

This commit is contained in:
Jack Humbert 2015-10-26 14:49:46 -04:00
parent ff8d8a50df
commit 46e7fb2d3c
26 changed files with 359 additions and 384 deletions

View file

@ -908,13 +908,16 @@ int main(void)
print("Keyboard start.\n");
while (1) {
// while (USB_DeviceState == DEVICE_STATE_Suspended) {
// print("[s]");
// suspend_power_down();
// if (USB_Device_RemoteWakeupEnabled && suspend_wakeup_condition()) {
// USB_Device_SendRemoteWakeup();
// }
// }
#ifndef BLUETOOTH_ENABLE
while (USB_DeviceState == DEVICE_STATE_Suspended) {
print("[s]");
suspend_power_down();
if (USB_Device_RemoteWakeupEnabled && suspend_wakeup_condition()) {
USB_Device_SendRemoteWakeup();
}
}
#endif
#ifdef MIDI_ENABLE
midi_device_process(&midi_device);