Fix typos
This commit is contained in:
		@@ -192,7 +192,7 @@ void board_init(void)
 | 
			
		||||
  CLOCK_SetClkDiv(kCLOCK_DivUsb0Clk, 1, false);
 | 
			
		||||
  CLOCK_AttachClk(kFRO_HF_to_USB0_CLK);
 | 
			
		||||
 | 
			
		||||
  /*According to reference mannual, device mode setting has to be set by access usb host register */
 | 
			
		||||
  /*According to reference manual, device mode setting has to be set by access usb host register */
 | 
			
		||||
  CLOCK_EnableClock(kCLOCK_Usbhsl0);  // enable usb0 host clock
 | 
			
		||||
  USBFSH->PORTMODE |= USBFSH_PORTMODE_DEV_ENABLE_MASK;
 | 
			
		||||
  CLOCK_DisableClock(kCLOCK_Usbhsl0); // disable usb0 host clock
 | 
			
		||||
@@ -213,7 +213,7 @@ void board_init(void)
 | 
			
		||||
  RESET_PeripheralReset(kUSB1_RST_SHIFT_RSTn);
 | 
			
		||||
  RESET_PeripheralReset(kUSB1RAM_RST_SHIFT_RSTn);
 | 
			
		||||
 | 
			
		||||
  /* According to reference mannual, device mode setting has to be set by access usb host register */
 | 
			
		||||
  /* According to reference manual, device mode setting has to be set by access usb host register */
 | 
			
		||||
  CLOCK_EnableClock(kCLOCK_Usbh1); // enable usb0 host clock
 | 
			
		||||
 | 
			
		||||
  USBHSH->PORTMODE = USBHSH_PORTMODE_SW_PDCOM_MASK; // Put PHY powerdown under software control
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user