Commit Graph

7 Commits

Author SHA1 Message Date
Dominic Clifton aac13914f9 LPF setting is not needed to detect the gyro sensor, only when it's
initialised; now the lpf setting is passed to gyroInit().

This saves a bit of code size and ram as well as making the code
cleaner.
2015-10-02 15:43:44 +01:00
Dominic Clifton 06ceac0614 Remove unused variable warnings when no SPI sensors are used. 2015-10-02 15:43:44 +01:00
Dominic Clifton 85ba1eb0bd Add support for MPU6500 connected via I2C. 2015-10-02 15:43:44 +01:00
Dominic Clifton 678c0413cb Relocate and use some of the common MPU code from MPU6000 into
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton 0361d161fb Relocate and use some of the common MPU code from MPU6500 into
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton da46d9f1d2 Relocate and use some of the common MPU code from MPU3050 into
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton b46d56a5bd Relocate some of the common MPU code from MPU6050 into accgyro_mpu.c. 2015-10-02 15:43:44 +01:00