Skip to content

Commit

Permalink
AP_GPS: add include for GCS_MAVLink.h
Browse files Browse the repository at this point in the history
The initialisation of the GPS_Fix enumeration is made from the mavlink headers.

We should probably move away from this, converting from our own enumeration to the mavlink enumeration when required (emitting mavlink packets and receiving in AP_GPS_MAV)
  • Loading branch information
peterbarker authored and tridge committed Jul 13, 2022
1 parent 712611c commit 10bc615
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_GPS/AP_GPS.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <AP_MSP/msp.h>
#include <AP_ExternalAHRS/AP_ExternalAHRS.h>
#include <SITL/SIM_GPS.h>
#include <GCS_MAVLink/GCS_MAVLink.h>

/**
maximum number of GPS instances available on this platform. If more
Expand Down

0 comments on commit 10bc615

Please sign in to comment.