STMicroelectronics / STM32CubeG0

STM32Cube MCU Full Package for the STM32G0 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
165 stars 75 forks source link

Add pre-processor directives #if defined (USB_DRD_FS) and #endif into stm32g0xx_hal_hcd.c/h #15

Closed ALABSTM closed 3 years ago

ALABSTM commented 3 years ago

Add pre-processor directives #if defined (USB_DRD_FS) and #endif into stm32g0xx_hal_hcd.c/h

Rationale: Avoid compilation errors when using targets not supporting USB DRD FS.

RKOUSTM commented 3 years ago

Hi @ALABSTM,

Thank you for your contribution. This fix will be made available for users before next official release. Thank you once again for your contribution.

With regards

RKOUSTM commented 3 years ago

ST Internal Reference: 99814