LPF setting is not needed to detect the gyro sensor, only when it's
commitaac13914f9e631c5ff56caa637d29a333480c5d2
authorDominic Clifton <me@dominicclifton.name>
Mon, 21 Sep 2015 13:16:21 +0000 (21 14:16 +0100)
committerDominic Clifton <me@dominicclifton.name>
Fri, 2 Oct 2015 14:43:44 +0000 (2 15:43 +0100)
treeabc990c17f2d107df49fcc8ed512d5f1b6d184b3
parent06ceac06146452b3c041e65056c48aae73e82ad2
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.
20 files changed:
src/main/drivers/accgyro.h
src/main/drivers/accgyro_l3g4200d.c
src/main/drivers/accgyro_l3g4200d.h
src/main/drivers/accgyro_l3gd20.c
src/main/drivers/accgyro_l3gd20.h
src/main/drivers/accgyro_mpu.c
src/main/drivers/accgyro_mpu.h
src/main/drivers/accgyro_mpu3050.c
src/main/drivers/accgyro_mpu3050.h
src/main/drivers/accgyro_mpu6050.c
src/main/drivers/accgyro_mpu6050.h
src/main/drivers/accgyro_mpu6500.c
src/main/drivers/accgyro_mpu6500.h
src/main/drivers/accgyro_spi_mpu6000.c
src/main/drivers/accgyro_spi_mpu6000.h
src/main/drivers/accgyro_spi_mpu6500.c
src/main/drivers/accgyro_spi_mpu6500.h
src/main/drivers/sensor.h
src/main/flight/mixer.h
src/main/sensors/initialisation.c