Tools: add and use AP_AHRS_ENABLED

This commit is contained in:
Peter Barker 2023-06-20 16:28:14 +10:00 committed by Peter Barker
parent 42e42dc991
commit e8ada7f4ee

View File

@ -35,7 +35,7 @@ static const ap_message STREAM_EXTENDED_STATUS_msgs[] = {
}; };
static const ap_message STREAM_POSITION_msgs[] = { static const ap_message STREAM_POSITION_msgs[] = {
#if defined(HAL_PERIPH_ENABLE_AHRS) #if AP_AHRS_ENABLED
MSG_LOCATION, MSG_LOCATION,
MSG_LOCAL_POSITION MSG_LOCAL_POSITION
#endif #endif