diff --git a/sw/airborne/datalink.c b/sw/airborne/datalink.c index 0dc208f8b2..fd64b4e7c1 100644 --- a/sw/airborne/datalink.c +++ b/sw/airborne/datalink.c @@ -43,10 +43,6 @@ #include "joystick.h" #endif -#ifdef USE_RC_TELEMETRY -#include "ppm.h" -#endif - #ifdef USE_USB_SERIAL #include "usb_serial.h" #endif @@ -186,14 +182,6 @@ void dl_parse_msg(void) { DL_JOYSTICK_RAW_throttle(dl_buffer)); } else #endif // USE_JOYSTICK -#ifdef USE_RC_TELEMETRY - if (msg_id == DL_RC_3CH /*&& DL_RC_3CH_ac_id(dl_buffer) == TX_ID*/) { -LED_TOGGLE(3); - ppm_datalink(DL_RC_3CH_throttle_mode(dl_buffer), - DL_RC_3CH_roll(dl_buffer), - DL_RC_3CH_pitch(dl_buffer)); - } else -#endif // USE_RC_TELEMETRY #if defined RADIO_CONTROL && defined RADIO_CONTROL_TYPE_DATALINK if (msg_id == DL_RC_3CH /*&& DL_RC_3CH_ac_id(dl_buffer) == TX_ID*/) { LED_TOGGLE(3);