From 8c36199d690f55e72b0bc623ae69486df515afca Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Sun, 3 Apr 2016 23:27:02 +0200 Subject: [PATCH] Compilation fix (crossfire) --- radio/src/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/radio/src/CMakeLists.txt b/radio/src/CMakeLists.txt index aefc6925c..bad23ac22 100644 --- a/radio/src/CMakeLists.txt +++ b/radio/src/CMakeLists.txt @@ -473,6 +473,10 @@ if(CPU_FAMILY STREQUAL STM32) sbus.cpp telemetry/crossfire.cpp ) + set(PULSES_SRC + ${PULSES_SRC} + crossfire.cpp + ) endif() if(ARCH STREQUAL ARM) @@ -601,11 +605,11 @@ if(ARCH STREQUAL ARM) ${COOS_DIR}/portable/arch.c ) set(PULSES_SRC + ${PULSES_SRC} pulses_arm.cpp ppm_arm.cpp pxx_arm.cpp dsm2_arm.cpp - crossfire.cpp ) else() option(EXT "Telemetry protocol" OFF) # TODO rename this EXT option to TELEMETRY