aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/xWDGv1
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/LLD/xWDGv1')
-rw-r--r--os/hal/ports/STM32/LLD/xWDGv1/driver.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/xWDGv1/driver.mk b/os/hal/ports/STM32/LLD/xWDGv1/driver.mk
index 28f08c1da..a4d8bddaa 100644
--- a/os/hal/ports/STM32/LLD/xWDGv1/driver.mk
+++ b/os/hal/ports/STM32/LLD/xWDGv1/driver.mk
@@ -1,5 +1,5 @@
ifeq ($(USE_SMART_BUILD),yes)
-ifneq ($(findstring HAL_USE_USB TRUE,$(HALCONF)),)
+ifneq ($(findstring HAL_USE_WDG TRUE,$(HALCONF)),)
PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c
endif
else