fix PERIODIC_SEND_BARO_RAW: downlink takes transport and device as param now

This commit is contained in:
Felix Ruess
2012-01-30 02:09:04 +01:00
parent 59907827a4
commit ce7befa575
@@ -240,13 +240,13 @@ extern uint8_t telemetry_mode_Ap_DefaultChannel;
#endif
#ifdef BOARD_HAS_BARO
#define PERIODIC_SEND_BARO_RAW(_chan) { \
DOWNLINK_SEND_BARO_RAW(_chan, \
#define PERIODIC_SEND_BARO_RAW(_trans, _dev) { \
DOWNLINK_SEND_BARO_RAW(_trans, _dev, \
&baro.absolute, \
&baro.differential); \
}
#else
#define PERIODIC_SEND_BARO_RAW(_chan) {}
#define PERIODIC_SEND_BARO_RAW(_trans, _dev) {}
#endif
#ifdef MEASURE_AIRSPEED