mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
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
Block a user