1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00
Commit graph

24 commits

Author SHA1 Message Date
Martin Budden
0f52e72fa5 Improved gyro structure alignment 2016-12-30 18:03:36 +00:00
Martin Budden
42344a8fe6 Made gyro device code reentrant 2016-12-18 00:16:23 +00:00
Martin Budden
1d3bfc86d4 Updated sensor driver read signatures 2016-12-15 23:06:52 +00:00
Martin Budden
7f4617b676 Renamed MPU functions to have mpu prefix 2016-12-11 11:32:34 +00:00
Martin Budden
b8b9c95f57 Moved sensor global data into sensor_s structs 2016-12-01 17:47:17 +00:00
Martin Budden
590e569375 Changed gyro init and read functions to take a gyro_t* parameter.
Scaled gyro values to degrees per second in gyroUpdate.
2016-11-30 16:59:55 +00:00
Martin Budden
19901730fc Removed trailing spaces from device drivers 2016-11-11 08:11:48 +00:00
kc10kevin
dc4b4ac986 ICM-20689 Gyro 2016-09-14 07:33:32 -05:00
kc10kevin
57c24c6ee1 ICM-20689 Gyro 2016-09-13 19:44:36 -05:00
Martin Budden
58014f416e Removed #includes from header files 2016-08-07 01:28:17 +02:00
Martin Budden
141b369667 Removed trailing whitespace 2016-07-16 07:54:58 +01:00
blckmn
e04c0a3d66 Additional IO cleanup for HMC5883 fix 2016-06-28 15:13:33 +10:00
J Blackman
9843d7ce2f Merge pull request #602 from martinbudden/bf_gyro_tidy
gyro sync and initialisation cleanup
2016-06-28 08:18:38 +10:00
Martin Budden
97fe5afd6c Converted tabs to spaces. 2016-06-27 19:26:02 +01:00
Martin Budden
4d238b27d5 Moved targetLooptime into gyro_t, tidied gyro_sync and gyro 2016-06-26 16:15:06 +01:00
blckmn
7ca39bbde6 STM32F4: Drivers 2016-06-08 05:37:08 +10:00
blckmn
928609e2bb Moving EXTI to new io
Updated i2c to use new io
2016-06-03 20:21:10 +10:00
borisbstyle
b39beceb62 8khz Sampling option / preparation 2015-11-24 16:09:16 +01:00
Dominic Clifton
4da387e93d More cleanup of MPU driver code. Support MPU INT on CC3D and Naze32
Rev6.

MPU6050 Correction From merge
2015-10-16 10:40:54 +02:00
borisbstyle
12c9f65f43 Merge branch 'master' into betaflight
Conflicts:
	Makefile
	docs/Cli.md
	src/main/config/config.c
	src/main/drivers/accgyro_mpu3050.c
	src/main/drivers/accgyro_mpu6050.c
	src/main/drivers/accgyro_mpu6050.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/barometer_bmp280.c
	src/main/drivers/sensor.h
	src/main/flight/pid.c
	src/main/mw.c
	src/main/rx/rx.c
	src/main/sensors/initialisation.c
	src/main/target/CC3D/target.h
2015-10-07 17:12:54 +02:00
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
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
b46d56a5bd Relocate some of the common MPU code from MPU6050 into accgyro_mpu.c. 2015-10-02 15:43:44 +01:00