diff options
Diffstat (limited to 'Projects/P-NUCLEO-WB55.USBDongle/Applications/USB_Device/DFU_Standalone/USB_Device/Target/usbd_conf.c')
-rw-r--r-- | Projects/P-NUCLEO-WB55.USBDongle/Applications/USB_Device/DFU_Standalone/USB_Device/Target/usbd_conf.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/Projects/P-NUCLEO-WB55.USBDongle/Applications/USB_Device/DFU_Standalone/USB_Device/Target/usbd_conf.c b/Projects/P-NUCLEO-WB55.USBDongle/Applications/USB_Device/DFU_Standalone/USB_Device/Target/usbd_conf.c index e7c4b2505..a60575253 100644 --- a/Projects/P-NUCLEO-WB55.USBDongle/Applications/USB_Device/DFU_Standalone/USB_Device/Target/usbd_conf.c +++ b/Projects/P-NUCLEO-WB55.USBDongle/Applications/USB_Device/DFU_Standalone/USB_Device/Target/usbd_conf.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - * <h2><center>© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.</center></h2> + * Copyright (c) 2019-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -67,11 +66,11 @@ extern void SystemClock_Config(void); *******************************************************************************/ /* MSP Init */ -#if (USE_HAL_PCD_REGISTER_CALLBACK == 1U) +#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) static void HAL_PCD_MspInit(PCD_HandleTypeDef* pcdHandle) #else void HAL_PCD_MspInit(PCD_HandleTypeDef* pcdHandle) -#endif /* USE_HAL_PCD_REGISTER_CALLBACK */ +#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ { GPIO_InitTypeDef GPIO_InitStruct = {0}; if(pcdHandle->Instance==USB) @@ -104,11 +103,11 @@ void HAL_PCD_MspInit(PCD_HandleTypeDef* pcdHandle) } } -#if (USE_HAL_PCD_REGISTER_CALLBACK == 1U) +#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) static void HAL_PCD_MspDeInit(PCD_HandleTypeDef* pcdHandle) #else void HAL_PCD_MspDeInit(PCD_HandleTypeDef* pcdHandle) -#endif /* USE_HAL_PCD_REGISTER_CALLBACK */ +#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ { if(pcdHandle->Instance==USB) { @@ -742,4 +741,3 @@ USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status) } return usb_status; } -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |