diff --git a/conf/telemetry/default.xml b/conf/telemetry/default.xml index 0bc82ad8b7..29819db2a4 100644 --- a/conf/telemetry/default.xml +++ b/conf/telemetry/default.xml @@ -14,6 +14,7 @@ + diff --git a/conf/telemetry/minimal.xml b/conf/telemetry/minimal.xml index 7d30dc30b5..771d9070c0 100644 --- a/conf/telemetry/minimal.xml +++ b/conf/telemetry/minimal.xml @@ -11,6 +11,7 @@ + diff --git a/sw/airborne/ap_downlink.h b/sw/airborne/ap_downlink.h index 97d30fcad7..a1fb951503 100644 --- a/sw/airborne/ap_downlink.h +++ b/sw/airborne/ap_downlink.h @@ -170,6 +170,13 @@ #define PERIODIC_SEND_BARO_MS5534A(_chan) {} #endif +#ifdef USE_BARO_SCP +#include "baro_scp.h" +#define PERIODIC_SEND_SCP_STATUS(_chan) DOWNLINK_SEND_SCP_STATUS(_chan, &baro_scp_pressure, &baro_scp_temperature) +#else +#define PERIODIC_SEND_SCP_STATUS(_chan) {} +#endif + #ifdef USE_AIRSPEED #define PERIODIC_SEND_AIRSPEED(_chan) DOWNLINK_SEND_AIRSPEED (_chan, &adc_airspeed_val,&estimator_airspeed,&v_ctl_auto_airspeed_setpoint,&v_ctl_auto_airspeed_controlled,&v_ctl_auto_groundspeed_setpoint) #else