diff --git a/src/modm/board/disco_f746ng/board.hpp b/src/modm/board/disco_f746ng/board.hpp index 7e536a65bf..ce09a92b12 100644 --- a/src/modm/board/disco_f746ng/board.hpp +++ b/src/modm/board/disco_f746ng/board.hpp @@ -208,7 +208,7 @@ initialize() inline void initializeUsbFs(uint8_t priority=3) { - usb_fs::Device::initialize(); + usb_fs::Device::initialize(priority); usb_fs::Device::connect(); USB_OTG_DeviceTypeDef *dev = (USB_OTG_DeviceTypeDef *) (USB_OTG_FS_PERIPH_BASE + USB_OTG_DEVICE_BASE); @@ -223,9 +223,9 @@ initializeUsbFs(uint8_t priority=3) } inline void -initializeUsbHs() +initializeUsbHs(uint8_t priority=3) { - usb_hs::Device::initialize(); + usb_hs::Device::initialize(priority); usb_hs::Device::connect< usb_hs::Ck::Ulpick, usb_hs::Stp::Ulpistp, usb_hs::Dir::Ulpidir, usb_hs::Nxt::Ulpinxt,