mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
global: use static method to construct AP_GPS
This commit is contained in:
1 parent
2cb2727a31
commit
8094482f21
11 files changed
+11
-12
No files matched your search
@@ -14,7 +14,7 @@ const AP_HAL::HAL& hal = AP_HAL::get_HAL();
|
||||
|
||||
// sensor declaration
|
||||
static AP_InertialSensor ins = AP_InertialSensor::create();
|
||||
AP_GPS gps;
|
||||
static AP_GPS gps = AP_GPS::create();
|
||||
static AP_Baro baro = AP_Baro::create();
|
||||
AP_SerialManager serial_manager;
|
||||
|
||||
|
||||
Reference in new issue
Block a user