mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-02-08 13:47:28 +08:00
global: use static method to construct AP_AHRS_DCM
This commit is contained in:
committed by
Francisco Ferreira
parent
cd1ff7b86f
commit
bfd13dfe87
@@ -19,7 +19,7 @@ static AP_Baro baro = AP_Baro::create();
|
||||
static AP_SerialManager serial_manager = AP_SerialManager::create();
|
||||
|
||||
// choose which AHRS system to use
|
||||
AP_AHRS_DCM ahrs(ins, baro, gps);
|
||||
static AP_AHRS_DCM ahrs = AP_AHRS_DCM::create(ins, baro, gps);
|
||||
|
||||
void setup(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user