mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 17:55:19 +03:00
Haptic for v4
This commit is contained in:
parent
010d8dce52
commit
3609f88c32
1 changed files with 9 additions and 8 deletions
|
@ -229,6 +229,10 @@ ifeq ($(SPLASH), YES)
|
||||||
CPPDEFS += -DSPLASH
|
CPPDEFS += -DSPLASH
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(HAPTIC), YES)
|
||||||
|
CPPDEFS += -DHAPTIC
|
||||||
|
endif
|
||||||
|
|
||||||
# If ARDUPILOT-Support is enabled
|
# If ARDUPILOT-Support is enabled
|
||||||
ifeq ($(EXT), ARDUPILOT)
|
ifeq ($(EXT), ARDUPILOT)
|
||||||
CPPDEFS += -DARDUPILOT
|
CPPDEFS += -DARDUPILOT
|
||||||
|
@ -287,9 +291,6 @@ else
|
||||||
ifeq ($(AUDIO), YES)
|
ifeq ($(AUDIO), YES)
|
||||||
CPPDEFS += -DAUDIO
|
CPPDEFS += -DAUDIO
|
||||||
CPPSRC += audio.cpp
|
CPPSRC += audio.cpp
|
||||||
ifeq ($(HAPTIC), YES)
|
|
||||||
CPPDEFS += -DHAPTIC
|
|
||||||
endif
|
|
||||||
else
|
else
|
||||||
CPPSRC += beeper.cpp
|
CPPSRC += beeper.cpp
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue