diff --git a/sw/airborne/main_ap.c b/sw/airborne/main_ap.c index 0b0b216a64..e55f780d11 100644 --- a/sw/airborne/main_ap.c +++ b/sw/airborne/main_ap.c @@ -83,10 +83,6 @@ #include "traffic_info.h" #endif -#ifdef TCAS -#include "tcas.h" -#endif - #ifdef USE_USB_SERIAL #include "usb_serial.h" #endif @@ -418,17 +414,6 @@ void periodic_task_ap( void ) { kill_throttle |= (t >= LOW_BATTERY_DELAY); kill_throttle |= launch && (dist2_to_home > Square(KILL_MODE_DISTANCE)); } - switch (_1Hz) { - -#ifdef TCAS - case 6: - /** conflicts monitoring at 1Hz */ - tcas_periodic_task_1Hz(); - break; -#endif - default: - break; - } switch(_4Hz) { case 0: @@ -468,13 +453,6 @@ void periodic_task_ap( void ) { break; #endif -#ifdef TCAS - case 14: - /** tcas altitude control loop at 4Hz just before navigation task */ - tcas_periodic_task_4Hz(); - break; -#endif - /* default: */ } @@ -623,10 +601,6 @@ void init_ap( void ) { traffic_info_init(); #endif -#ifdef TCAS - tcas_init(); -#endif - }