Skip to content

Commit

Permalink
[radio_control] spektrum not working with intermcu
Browse files Browse the repository at this point in the history
  • Loading branch information
dewagter committed Sep 26, 2014
1 parent 4ccfccb commit 0d7ded2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions conf/firmwares/subsystems/shared/radio_control_spektrum.makefile
Expand Up @@ -31,8 +31,17 @@ RC_SRCS += $(SRC_SUBSYSTEMS)/radio_control.c \
$(SRC_SUBSYSTEMS)/radio_control/spektrum.c \
$(SRC_ARCH)/subsystems/radio_control/spektrum_arch.c

ap.CFLAGS += $(RC_CFLAGS)
ap.srcs += $(RC_SRCS)
NORADIO = False
ifeq ($(BOARD),classix)
ifeq ($(TARGET),ap)
NORADIO = True
endif
endif

ifeq ($(NORADIO), False)
$(TARGET).CFLAGS += $(RC_CFLAGS)
$(TARGET).srcs += $(RC_SRCS)
endif

test_radio_control.CFLAGS += $(RC_CFLAGS)
test_radio_control.srcs += $(RC_SRCS)

0 comments on commit 0d7ded2

Please sign in to comment.