summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-07-06 15:54:07 +0700
committerhathach <[email protected]>2023-07-06 15:54:07 +0700
commit95b77a0e7356b5f6625fbdb66f35415db3aac7a9 (patch)
tree087c4fed9465d30f7ee08d04d05faee57893162b /hw
parentf308435b649c37f0cffc1d5a566fb71c22b57aa1 (diff)
add rusb2_module_start(), more update for multiple ports for dcd rusb2
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/ra/family.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/hw/bsp/ra/family.c b/hw/bsp/ra/family.c
index 36b46beab..2c21a9967 100644
--- a/hw/bsp/ra/family.c
+++ b/hw/bsp/ra/family.c
@@ -104,13 +104,6 @@ void board_init(void) {
R_SYSTEM->TRCKCR = R_SYSTEM_TRCKCR_TRCKEN_Msk | 0x01;
#endif
- // Enable USB module
- R_MSTP->MSTPCRB &= ~(1U << 11U); // FS
-
-#ifdef BOARD_HAS_USB_HIGHSPEED
- R_MSTP->MSTPCRB &= ~(1U << 12U);
-#endif
-
#if CFG_TUSB_OS == OPT_OS_FREERTOS
// If freeRTOS is used, IRQ priority is limit by max syscall ( smaller is higher )
NVIC_SetPriority(USBFS_INT_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY);