Пример #1
0
void HAL_USBConnect(uint8_t corenum, uint32_t con)
{
	if (USB_CurrentMode[corenum] == USB_MODE_Device) {
			#if defined(USB_CAN_BE_DEVICE)
		HAL17XX_USBConnect(con);
			#endif
	}
}
/********************************************************************//**
 * @brief
 * @param
 * @return
 *********************************************************************/
void HAL_USBConnect (uint32_t con)
{  
#ifdef USB_CAN_BE_DEVICE
	HAL17XX_USBConnect(con);
#endif
}