Plane: update vehicle max_speed to ADSB library

This commit is contained in:
Tom Pittenger 2018-05-22 10:34:26 -07:00 committed by Tom Pittenger
parent 657f515f40
commit 4dca1c48f2
1 changed files with 1 additions and 0 deletions

View File

@ -306,6 +306,7 @@ void Plane::one_second_loop()
ahrs.set_orientation();
adsb.set_stall_speed_cm(aparm.airspeed_min);
adsb.set_max_speed(aparm.airspeed_max);
// sync MAVLink system ID
mavlink_system.sysid = g.sysid_this_mav;