From 40579a0d75ef5c8c8398ce5a6ee29e9e4c4963ff Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 21 Feb 2014 11:15:19 +0100 Subject: [PATCH] Makefile cosmetics --- radio/src/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/radio/src/Makefile b/radio/src/Makefile index 45c8356e5..8380a747e 100644 --- a/radio/src/Makefile +++ b/radio/src/Makefile @@ -697,10 +697,6 @@ ifeq ($(PCB), TARANIS) CPPSRC += protocols/hubsan.cpp CPPSRC += targets/taranis/a7105_driver.cpp endif - - ifeq ($(TURNIGY_TRANSMITTER_FIX), YES) - $(error TURNIGY_TRANSMITTER_FIX is not yet implemented for Taranis. If this is actually needed, getSwitch() needs to be modified) - endif endif CC = $(TRGT)gcc @@ -774,7 +770,11 @@ ifeq ($(NAVIGATION), ROTENC) endif ifeq ($(TURNIGY_TRANSMITTER_FIX), YES) - CPPDEFS += -DMODULE_ALWAYS_SEND_PULSES + ifeq ($(PCB), TARANIS) + $(warning TURNIGY_TRANSMITTER_FIX is not available on Taranis) + else + CPPDEFS += -DMODULE_ALWAYS_SEND_PULSES + endif endif ifeq ($(AUTOSWITCH), YES)