[stock] PWM_BACKLIGHT compatible with AUDIO, not VOICE
This commit is contained in:
+16
-14
@@ -615,13 +615,6 @@ ifeq ($(PCB), STD128)
|
|||||||
CPPDEFS += -DAUDIO
|
CPPDEFS += -DAUDIO
|
||||||
CPPSRC += audio_avr.cpp
|
CPPSRC += audio_avr.cpp
|
||||||
else
|
else
|
||||||
ifeq ($(PWM_BACKLIGHT), YES)
|
|
||||||
ifeq ($(VOICE), YES)
|
|
||||||
$(error Sorry, PWM_BACKLIGHT doesnt work on Mainboards with VOICE mod.)
|
|
||||||
else
|
|
||||||
CPPDEFS += -DPWM_BACKLIGHT
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
CPPSRC += beeper.cpp
|
CPPSRC += beeper.cpp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -630,6 +623,14 @@ ifeq ($(PCB), STD128)
|
|||||||
CPPDEFS += -DVOICE
|
CPPDEFS += -DVOICE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(PWM_BACKLIGHT), YES)
|
||||||
|
ifeq ($(VOICE), YES)
|
||||||
|
$(error Sorry, PWM_BACKLIGHT doesnt work on stock board with VOICE mod.)
|
||||||
|
else
|
||||||
|
CPPDEFS += -DPWM_BACKLIGHT
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(HAPTIC), YES)
|
ifeq ($(HAPTIC), YES)
|
||||||
CPPDEFS += -DHAPTIC
|
CPPDEFS += -DHAPTIC
|
||||||
CPPSRC += haptic.cpp
|
CPPSRC += haptic.cpp
|
||||||
@@ -654,13 +655,6 @@ ifeq ($(PCB), STD)
|
|||||||
CPPDEFS += -DAUDIO
|
CPPDEFS += -DAUDIO
|
||||||
CPPSRC += audio_avr.cpp
|
CPPSRC += audio_avr.cpp
|
||||||
else
|
else
|
||||||
ifeq ($(PWM_BACKLIGHT), YES)
|
|
||||||
ifeq ($(VOICE), YES)
|
|
||||||
$(error Sorry, PWM_BACKLIGHT doesnt work on Mainboards with VOICE mod.)
|
|
||||||
else
|
|
||||||
CPPDEFS += -DPWM_BACKLIGHT
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
CPPSRC += beeper.cpp
|
CPPSRC += beeper.cpp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -669,6 +663,14 @@ ifeq ($(PCB), STD)
|
|||||||
CPPDEFS += -DVOICE
|
CPPDEFS += -DVOICE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(PWM_BACKLIGHT), YES)
|
||||||
|
ifeq ($(VOICE), YES)
|
||||||
|
$(error Sorry, PWM_BACKLIGHT doesnt work on stock board with VOICE mod.)
|
||||||
|
else
|
||||||
|
CPPDEFS += -DPWM_BACKLIGHT
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(HAPTIC), YES)
|
ifeq ($(HAPTIC), YES)
|
||||||
CPPDEFS += -DHAPTIC
|
CPPDEFS += -DHAPTIC
|
||||||
CPPSRC += haptic.cpp
|
CPPSRC += haptic.cpp
|
||||||
|
|||||||
Reference in New Issue
Block a user