AP_Periph: don't send GPS messages if not compiled in

This commit is contained in:
Peter Barker 2024-02-14 19:54:38 +11:00 committed by Peter Barker
parent e787fc5dfd
commit 102ffd3aeb
1 changed files with 2 additions and 0 deletions

View File

@ -32,8 +32,10 @@ static const ap_message STREAM_EXTENDED_STATUS_msgs[] = {
MSG_MCU_STATUS,
#endif
MSG_MEMINFO,
#if AP_GPS_ENABLED
MSG_GPS_RAW,
MSG_GPS_RTK,
#endif
};
static const ap_message STREAM_POSITION_msgs[] = {