USBH: Fix compilation with HAL_USBH_USE_HUB = false
This commit is contained in:
parent
392d6af300
commit
7a57cfe93d
|
@ -28,10 +28,8 @@ endif
|
|||
ifneq ($(findstring HAL_USE_USBH TRUE,$(HALCONF)),)
|
||||
HALSRC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/src/hal_usbh.c \
|
||||
${CHIBIOS_CONTRIB}/os/hal/src/usbh/hal_usbh_debug.c \
|
||||
${CHIBIOS_CONTRIB}/os/hal/src/usbh/hal_usbh_desciter.c
|
||||
endif
|
||||
ifneq ($(findstring HAL_USBH_USE_HUB TRUE,$(HALCONF)),)
|
||||
HALSRC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/src/usbh/hal_usbh_hub.c
|
||||
${CHIBIOS_CONTRIB}/os/hal/src/usbh/hal_usbh_desciter.c \
|
||||
${CHIBIOS_CONTRIB}/os/hal/src/usbh/hal_usbh_hub.c
|
||||
endif
|
||||
ifneq ($(findstring HAL_USBH_USE_MSD TRUE,$(HALCONF)),)
|
||||
HALSRC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/src/usbh/hal_usbh_msd.c
|
||||
|
|
Loading…
Reference in New Issue