File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,10 +98,6 @@ void board_init(void)
98
98
CLOCK_EnableUsbhs0PhyPllClock (kCLOCK_Usbphy480M , 480000000U );
99
99
CLOCK_EnableUsbhs0Clock (kCLOCK_Usb480M , 480000000U );
100
100
101
- // USB1
102
- CLOCK_EnableUsbhs1PhyPllClock (kCLOCK_Usbphy480M , 480000000U );
103
- CLOCK_EnableUsbhs1Clock (kCLOCK_Usb480M , 480000000U );
104
-
105
101
USBPHY_Type * usb_phy ;
106
102
107
103
// RT105x RT106x have dual USB controller.
@@ -125,6 +121,10 @@ void board_init(void)
125
121
126
122
// RT105x RT106x have dual USB controller.
127
123
#ifdef USBPHY2
124
+ // USB1
125
+ CLOCK_EnableUsbhs1PhyPllClock (kCLOCK_Usbphy480M , 480000000U );
126
+ CLOCK_EnableUsbhs1Clock (kCLOCK_Usb480M , 480000000U );
127
+
128
128
usb_phy = USBPHY2 ;
129
129
130
130
// Enable PHY support for Low speed device + LS via FS Hub
You can’t perform that action at this time.
0 commit comments