ArduCopter: added ahrs.ini() to system.pde to allow offsets to be pushed into MPU6000's DMP

This commit is contained in:
rmackay9 2012-07-28 14:21:45 +09:00
parent 83ab9be0eb
commit 0073f65ac6
1 changed files with 2 additions and 0 deletions

View File

@ -385,6 +385,8 @@ static void startup_ground(void)
#if CLI_ENABLED == ENABLED #if CLI_ENABLED == ENABLED
report_imu(); report_imu();
#endif #endif
// initialise ahrs (may push imu calibration into the mpu6000 if using that device).
ahrs.init();
#endif #endif
// reset the leds // reset the leds