AP_Airspeed: Use named float wrapper

This commit is contained in:
Michael du Breuil 2018-05-13 02:29:47 -07:00 committed by Francisco Ferreira
parent 1b05a18b84
commit f6624cc8b2
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ void AP_Airspeed::read(void)
#if 1
// debugging until we get MAVLink support for 2nd airspeed sensor
if (enabled(1)) {
mavlink_msg_named_value_float_send(MAVLINK_COMM_0, AP_HAL::millis(), "AS2", get_airspeed(1));
gcs().send_named_float("AS2", get_airspeed(1));
}
#endif