summaryrefslogtreecommitdiff
path: root/usb/device/dfu
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2012-04-01 23:29:00 +0200
committerSylvain Munaut <tnt@246tNt.com>2012-04-01 23:29:00 +0200
commit7e109d186ed9c0b539fb8e6e40dd227ce4cc78ab (patch)
tree9333d51e63517c72726462aa1d1cc10ce410b5b2 /usb/device/dfu
parent3b3b41d2ba4cdf4fe339b1c2c4e0679280dbc292 (diff)
device/dfu: Force FullSpeed mode since the DFU driver doesn't support HSHEADmaster
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'usb/device/dfu')
-rw-r--r--usb/device/dfu/dfu_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usb/device/dfu/dfu_driver.c b/usb/device/dfu/dfu_driver.c
index c9a9f03..3586432 100644
--- a/usb/device/dfu/dfu_driver.c
+++ b/usb/device/dfu/dfu_driver.c
@@ -464,6 +464,7 @@ void USBDFU_Initialize(const USBDDriverDescriptors *pDescriptors)
USBDDriver_Initialize(&usbdDriver, pDescriptors, if_altsettings);
USBD_Init();
+ USBD_ConfigureSpeed(1);
}
void USBDFU_SwitchToApp(void)
personal git repositories of Harald Welte. Your mileage may vary