diff --git a/system/usbd_conf.c b/system/usbd_conf.c --- a/system/usbd_conf.c +++ b/system/usbd_conf.c @@ -53,7 +53,7 @@ PCD_HandleTypeDef hpcd_USB_FS; static void SystemClockConfig_Resume(void); /* USER CODE END 1 */ void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state); -extern void systemclock_config(void); +extern void systemclock_init(void); /******************************************************************************* LL Driver Callbacks (PCD -> USB Device Library) @@ -502,7 +502,7 @@ void USBD_static_free(void *p) */ static void SystemClockConfig_Resume(void) { - systemclock_config(); + systemclock_init(); } /* USER CODE END 4 */