mirror of https://github.com/ArduPilot/ardupilot
AP_Vehicle: use AP_GPS_ENABLED to exclude more code when GPS not compiled in
This commit is contained in:
parent
132b04562d
commit
8cfdf10cf1
|
@ -289,7 +289,9 @@ protected:
|
|||
float G_Dt;
|
||||
|
||||
// sensor drivers
|
||||
#if AP_GPS_ENABLED
|
||||
AP_GPS gps;
|
||||
#endif
|
||||
AP_Baro barometer;
|
||||
Compass compass;
|
||||
AP_InertialSensor ins;
|
||||
|
|
Loading…
Reference in New Issue