APMrover2: fixed build

Needed to remove references to MPU6000's CS pin in constructor
This commit is contained in:
rmackay9 2012-09-29 13:55:29 +09:00
parent 8c6fd340d7
commit fcb2ff19bc
2 changed files with 1 additions and 7 deletions

View File

@ -248,7 +248,7 @@ AP_GPS_None g_gps_driver(NULL);
#endif // GPS PROTOCOL
# if CONFIG_IMU_TYPE == CONFIG_IMU_MPU6000
AP_InertialSensor_MPU6000 ins( CONFIG_MPU6000_CHIP_SELECT_PIN );
AP_InertialSensor_MPU6000 ins;
# else
AP_InertialSensor_Oilpan ins( &adc );
#endif // CONFIG_IMU_TYPE

View File

@ -134,12 +134,6 @@
# define CONFIG_IMU_TYPE CONFIG_IMU_OILPAN
#endif
#if CONFIG_IMU_TYPE == CONFIG_IMU_MPU6000
# ifndef CONFIG_MPU6000_CHIP_SELECT_PIN
# define CONFIG_MPU6000_CHIP_SELECT_PIN 53
# endif
#endif
//////////////////////////////////////////////////////////////////////////////
// ADC Enable - used to eliminate for systems which don't have ADC.
//