Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/P-NUCLEO-WB55.Nucleo/Applications/USB_Device/HID_Standalone/USB_Device/Target/usbd_conf.c')
-rw-r--r--Projects/P-NUCLEO-WB55.Nucleo/Applications/USB_Device/HID_Standalone/USB_Device/Target/usbd_conf.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/Projects/P-NUCLEO-WB55.Nucleo/Applications/USB_Device/HID_Standalone/USB_Device/Target/usbd_conf.c b/Projects/P-NUCLEO-WB55.Nucleo/Applications/USB_Device/HID_Standalone/USB_Device/Target/usbd_conf.c
index 22740d2b0..0b8c3d65a 100644
--- a/Projects/P-NUCLEO-WB55.Nucleo/Applications/USB_Device/HID_Standalone/USB_Device/Target/usbd_conf.c
+++ b/Projects/P-NUCLEO-WB55.Nucleo/Applications/USB_Device/HID_Standalone/USB_Device/Target/usbd_conf.c
@@ -7,13 +7,12 @@
******************************************************************************
* @attention
*
- * <h2><center>&copy; 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)
{
@@ -770,4 +769,3 @@ USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status)
}
return usb_status;
}
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/