diff options
author | Diego Ismirlian <dismirlian@gmail.com> | 2019-09-30 18:34:31 -0300 |
---|---|---|
committer | Diego Ismirlian <dismirlian@gmail.com> | 2019-10-02 16:57:31 -0300 |
commit | 7a57cfe93d3123b6927c6eb886cd60ba60d1605f (patch) | |
tree | 5185f1afb69acf45f68b7a4f6581e0b1dea069e6 | |
parent | 392d6af30057db0b36ae02e5ca940691c382fd23 (diff) | |
download | ChibiOS-Contrib-7a57cfe93d3123b6927c6eb886cd60ba60d1605f.tar.gz ChibiOS-Contrib-7a57cfe93d3123b6927c6eb886cd60ba60d1605f.tar.bz2 ChibiOS-Contrib-7a57cfe93d3123b6927c6eb886cd60ba60d1605f.zip |
USBH: Fix compilation with HAL_USBH_USE_HUB = false
-rw-r--r-- | os/hal/hal.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/os/hal/hal.mk b/os/hal/hal.mk index cd8420b..ae27ea5 100644 --- a/os/hal/hal.mk +++ b/os/hal/hal.mk @@ -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
|