Browse Source

usb_f103: fix typo in bad merge for SOF callback.

too many pulls :|
pull/496/head
Karl Palsson 9 years ago
parent
commit
e6e4f1388d
  1. 2
      lib/usb/usb_f103.c

2
lib/usb/usb_f103.c

@ -344,7 +344,7 @@ static void stm32f103_poll(usbd_device *dev)
}
}
if (usbd_dev->user_callback_sof) {
if (dev->user_callback_sof) {
BBIO_PERIPH(USB_CNTR_REG, USB_CNTR_SOFM) = 1;
} else {
BBIO_PERIPH(USB_CNTR_REG, USB_CNTR_SOFM) = 0;

Loading…
Cancel
Save