Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2 | Rev 9 | ||
|---|---|---|---|
| Line 65... | Line 65... | ||
| 65 | void MX_USB_DEVICE_Init(void) |
65 | void MX_USB_DEVICE_Init(void) |
| 66 | { |
66 | { |
| 67 | /* USER CODE BEGIN USB_DEVICE_Init_PreTreatment */ |
67 | /* USER CODE BEGIN USB_DEVICE_Init_PreTreatment */ |
| 68 | 68 | ||
| 69 | /* USER CODE END USB_DEVICE_Init_PreTreatment */ |
69 | /* USER CODE END USB_DEVICE_Init_PreTreatment */ |
| 70 | 70 | ||
| 71 | /* Init Device Library, add supported class and start the library. */ |
71 | /* Init Device Library, add supported class and start the library. */ |
| 72 | if (USBD_Init(&hUsbDeviceFS, &FS_Desc, DEVICE_FS) != USBD_OK) |
72 | if (USBD_Init(&hUsbDeviceFS, &FS_Desc, DEVICE_FS) != USBD_OK) |
| 73 | { |
73 | { |
| 74 | Error_Handler(); |
74 | Error_Handler(); |
| 75 | } |
75 | } |