diff --git a/Makefile b/Makefile index 859ce6c413..38f32aef16 100644 --- a/Makefile +++ b/Makefile @@ -146,6 +146,9 @@ COMMON_SRC = build_config.c \ rx/rx.c \ rx/pwm.c \ rx/msp.c \ + rx/sbus.c \ + rx/sumd.c \ + rx/spektrum.c \ sensors/acceleration.c \ sensors/battery.c \ sensors/boardalignment.c \ @@ -160,9 +163,6 @@ HIGHEND_SRC = flight/autotune.c \ flight/gps_conversion.c \ io/gps.c \ io/ledstrip.c \ - rx/sbus.c \ - rx/sumd.c \ - rx/spektrum.c \ telemetry/telemetry.c \ telemetry/frsky.c \ telemetry/hott.c \ diff --git a/src/main/target/CJMCU/target.h b/src/main/target/CJMCU/target.h index e49112bd6e..b388f3c848 100644 --- a/src/main/target/CJMCU/target.h +++ b/src/main/target/CJMCU/target.h @@ -49,3 +49,5 @@ // #define SOFT_I2C_PB67 #define SENSORS_SET (SENSOR_ACC | SENSOR_MAG) + +#define SERIAL_RX