mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
trezorhal: usbd - fix typo
This commit is contained in:
parent
28d6b38f6f
commit
b412ef4b24
@ -56,6 +56,9 @@
|
|||||||
#define IRQ_PRI_OTG_FS 6
|
#define IRQ_PRI_OTG_FS 6
|
||||||
#define IRQ_SUBPRI_OTG_FS 0
|
#define IRQ_SUBPRI_OTG_FS 0
|
||||||
|
|
||||||
|
#define IRQ_PRI_OTG_HS 6
|
||||||
|
#define IRQ_SUBPRI_OTG_HS 0
|
||||||
|
|
||||||
/* Private typedef -----------------------------------------------------------*/
|
/* Private typedef -----------------------------------------------------------*/
|
||||||
/* Private define ------------------------------------------------------------*/
|
/* Private define ------------------------------------------------------------*/
|
||||||
/* Private macro -------------------------------------------------------------*/
|
/* Private macro -------------------------------------------------------------*/
|
||||||
@ -226,7 +229,7 @@ void HAL_PCD_MspInit(PCD_HandleTypeDef *hpcd)
|
|||||||
#endif // !USE_USB_HS_IN_FS
|
#endif // !USE_USB_HS_IN_FS
|
||||||
|
|
||||||
/* Set USBHS Interrupt to the lowest priority */
|
/* Set USBHS Interrupt to the lowest priority */
|
||||||
HAL_NVIC_SetPriority(OTG_FS_IRQn, IRQ_PRI_OTG_FS, IRQ_SUBPRI_OTG_FS);
|
HAL_NVIC_SetPriority(OTG_HS_IRQn, IRQ_PRI_OTG_HS, IRQ_SUBPRI_OTG_HS);
|
||||||
|
|
||||||
/* Enable USBHS Interrupt */
|
/* Enable USBHS Interrupt */
|
||||||
HAL_NVIC_EnableIRQ(OTG_HS_IRQn);
|
HAL_NVIC_EnableIRQ(OTG_HS_IRQn);
|
||||||
|
Loading…
Reference in New Issue
Block a user