mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Copter: fixed flymaple build
This commit is contained in:
parent
b499cd1b59
commit
c268d7252f
@ -96,7 +96,9 @@ test_compass(uint8_t argc, const Menu::arg *argv)
|
|||||||
ahrs.init();
|
ahrs.init();
|
||||||
ahrs.set_fly_forward(true);
|
ahrs.set_fly_forward(true);
|
||||||
ahrs.set_compass(&compass);
|
ahrs.set_compass(&compass);
|
||||||
|
#if OPTFLOW == ENABLED
|
||||||
ahrs.set_optflow(&optflow);
|
ahrs.set_optflow(&optflow);
|
||||||
|
#endif
|
||||||
report_compass();
|
report_compass();
|
||||||
|
|
||||||
// we need the AHRS initialised for this test
|
// we need the AHRS initialised for this test
|
||||||
|
Loading…
Reference in New Issue
Block a user