summaryrefslogtreecommitdiffstats
path: root/app/usb.c
diff options
context:
space:
mode:
authorroot <root@lamia.panaceas.james.local>2015-06-13 12:20:28 +0100
committerroot <root@lamia.panaceas.james.local>2015-06-13 12:20:28 +0100
commit5095295dba685bd9c193ef7f50f0e50db07be999 (patch)
tree882fb014fabd3028c1702dd68e511606cc255490 /app/usb.c
parentbc9e93ad20f936c67d6acddb02d426783c32398e (diff)
downloadstm32_usb_kvm-5095295dba685bd9c193ef7f50f0e50db07be999.tar.gz
stm32_usb_kvm-5095295dba685bd9c193ef7f50f0e50db07be999.tar.bz2
stm32_usb_kvm-5095295dba685bd9c193ef7f50f0e50db07be999.zip
add usb resume support
Diffstat (limited to 'app/usb.c')
-rw-r--r--app/usb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/usb.c b/app/usb.c
index 245de1d..5845427 100644
--- a/app/usb.c
+++ b/app/usb.c
@@ -195,9 +195,6 @@ usb_init (void)
usbd_register_suspend_callback (usbd_dev, usb_suspended);
usbd_register_resume_callback (usbd_dev, usb_resumed);
- SET_REG (USB_CNTR_REG,
- USB_CNTR_RESETM | USB_CNTR_CTRM | USB_CNTR_SUSPM | USB_CNTR_WKUPM);
-
}
void