From 2384756349c3ab6d98efd9f87baa6c99e5a1dac9 Mon Sep 17 00:00:00 2001 From: Niklas Hauser Date: Fri, 9 Jun 2023 14:06:32 +0200 Subject: [PATCH] [board] Pass priority to USB initializer --- src/modm/board/disco_f746ng/board.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,