summaryrefslogtreecommitdiff
path: root/builddefs
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-03-19 17:57:22 +1100
committerGitHub <noreply@github.com>2022-03-19 17:57:22 +1100
commit9ee2effe8e61d32524b11092a0d04a96972c1493 (patch)
treeaff536a9b5a45d12a8a8eb48221ba11015b76fa0 /builddefs
parent86b5c6b5c3a36aec349b4350363a3526a9734ad7 (diff)
HD44780 driver rework (#16370)
Diffstat (limited to 'builddefs')
-rw-r--r--builddefs/common_features.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 08d186d656..a1793f91a5 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -646,8 +646,9 @@ ifeq ($(strip $(HAPTIC_ENABLE)),yes)
endif
ifeq ($(strip $(HD44780_ENABLE)), yes)
- SRC += platforms/avr/drivers/hd44780.c
OPT_DEFS += -DHD44780_ENABLE
+ COMMON_VPATH += $(DRIVER_PATH)/lcd
+ SRC += hd44780.c
endif
VALID_OLED_DRIVER_TYPES := SSD1306 custom