mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
Copter: enable AHRS2 mavlink message
This commit is contained in:
parent
4646682a31
commit
6a9189a6a5
@ -681,6 +681,10 @@ static bool mavlink_try_send_message(mavlink_channel_t chan, enum ap_message id,
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||
CHECK_PAYLOAD_SIZE(SIMSTATE);
|
||||
send_simstate(chan);
|
||||
#endif
|
||||
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||
CHECK_PAYLOAD_SIZE(AHRS2);
|
||||
gcs[chan-MAVLINK_COMM_0].send_ahrs2(ahrs);
|
||||
#endif
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user