diff --git a/conf/autopilot/subsystems/booz2_radio_control_spektrum.makefile b/conf/autopilot/subsystems/booz2_radio_control_spektrum.makefile index ffb9bb8ad1..3469c6fb51 100644 --- a/conf/autopilot/subsystems/booz2_radio_control_spektrum.makefile +++ b/conf/autopilot/subsystems/booz2_radio_control_spektrum.makefile @@ -10,9 +10,10 @@ ifeq ($(ARCHI), arm7) ap.CFLAGS += -DRADIO_CONTROL_LED=1 ap.CFLAGS += -DUSE_UART0 -DUART0_BAUD=B115200 ap.CFLAGS += -DRADIO_CONTROL_LINK=Uart0 -else ifeq ($(ARCHI), stm32) +else ifeq ($(ARCHI), stm32) ap.CFLAGS += -DRADIO_CONTROL_LED=4 ap.CFLAGS += -DUSE_UART3 -DUART3_BAUD=B115200 ap.CFLAGS += -DRADIO_CONTROL_LINK=Uart3 +ap.srcs += $(SRC_ARCH)/bind_hw.c endif