1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 13:55:18 +03:00
Commit graph

8630 commits

Author SHA1 Message Date
Dominic Clifton
1205765b4c Update i2c/spi drivers so they do not include "board.h". It is now clear
what all i2c/spi drivers need to compile and what was unnecessarily
included
before.

Renamed printf_config.h into build_config.h, move SOFT_I2C toggle switch
to build_config.h.
2014-04-17 12:12:08 +01:00
Dominic Clifton
ff0f4e66a9 Update altimeter drivers so they do not include "board.h". It is now
clear what all altimeter drivers need to compile and what was
unnecessarily included before.

Moved some platform specific configuration from board.h into platform.h
2014-04-17 11:56:03 +01:00
treymarc
f6024c5406 update header 2014-04-16 22:51:03 +00:00
treymarc
6330456296 remove unnecessary var, inline accsum_reset, lrintf , rename smallAngle 2014-04-16 22:48:37 +00:00
Dominic Clifton
001de4cdf3 Move FY90q acc/gyro code to accgyro_fy90q.c. Update ADC drivers so they
do not include "board.h". It is now clear what all ADC drivers need to
compile and what was unnecessarily included before.

Note: FY90Q make target now compiles successfully, it was broken for
various reasons before.
2014-04-16 18:58:20 +01:00
Dominic Clifton
5442f8ea41 Fix typo in filename. 2014-04-16 17:49:51 +01:00
Dominic Clifton
3c1ba729b9 Merge remote-tracking branch 'multiwii/master' into
project-structure-alternative

Conflicts:
	src/sensors.c
2014-04-16 17:49:10 +01:00
Dominic Clifton
f75f7a7e17 Updating accgyro files so they do not include "board.h". It is now
clear what all accgyro drivers need to compile and what was
unnecessarily included before.
2014-04-16 17:33:47 +01:00
dongie
cd08d6d782 Merge pull request #84 from treymarc/patch-1
Update imu.c
2014-04-17 01:23:23 +09:00
dongie
d687afd109 Merge pull request #83 from treymarc/format2
format
2014-04-17 01:21:13 +09:00
Trey Marc
038a1226ec Update imu.c
speed up troll angle
2014-04-16 17:20:40 +02:00
treymarc
f51174400d format 2014-04-16 15:06:37 +00:00
Trey Marc
74b8201f8d Update sensors.c 2014-04-16 16:58:49 +02:00
treymarc
e276665b32 type bool and inflight acc calib 2014-04-16 14:39:34 +00:00
luggi
de9f1095fb keep EstN from diverging to zero 2014-04-16 15:44:46 +02:00
Johannes Kasberger
385c4387b7 changed feature to set variable 2014-04-15 14:26:02 +02:00
Johannes Kasberger
5377b39f36 removed feature from driver 2014-04-15 09:19:19 +02:00
Johannes Kasberger
6716ecfe7e added overclock feature 2014-04-15 08:33:37 +02:00
Dominic Clifton
c493a1579c Merge remote-tracking branch 'multiwii/master'
Conflicts:
	obj/baseflight.hex
	src/sensors.c
2014-04-14 16:18:44 +01:00
treymarc
0286b13768 adjust default value to work with new alt hold or fpv 2014-04-12 17:26:59 +00:00
treymarc
39f3874661 faster cast with lrintf 2014-04-12 09:48:32 +00:00
treymarc
7fca3d17a2 smother curve, remove very small angle from correction 2014-04-12 09:29:36 +00:00
dongie
2ecde1876d Merge pull request #75 from treymarc/althold
throtlle angle correction with propper small angle calculation
2014-04-12 12:17:29 +09:00
treymarc
4a000c98ed throtlle angle correction with propper small angle calculation :
correction angle is configurabe (from 0.1° to 90°)
correction value var renamed in cli
correction is disable when vertical or inverted
2014-04-12 03:15:17 +00:00
dongie
01c63d0dd2 Merge pull request #73 from treymarc/taskorder
taskorder
2014-04-12 12:00:25 +09:00
treymarc
7d2e2c22aa taskorder 2014-04-12 02:55:21 +00:00
treymarc
cabf7eaac3 spacing 2014-04-12 02:51:42 +00:00
dongie
fafc59b3a5 adding some bounds checking in nmea parser (which sucks and should just go away anyway) 2014-04-10 10:57:47 +09:00
dongie
fc1f5c9f1e check for core.gpsport nullpointer first 2014-04-09 09:11:38 +09:00
dongie
d002f0fdc1 Try using proper serial routines this time 2014-04-09 07:23:43 +09:00
dongie
1898fd43fd trying to free up USART IRQ from GPS aids 2014-04-09 07:18:22 +09:00
Dominic Clifton
3bd4cd2ed2 Use slightly flatter directory structure since some developers did not
like too many folders.
Extracted code from some files into separate files to fit with the new
layout.
2014-04-08 22:07:37 +01:00
Dominic Clifton
9fa99cf9f5 Re-organize files by topic
Keil project not updated, I have no way to verify it.

Note, mw.c, drv_pwm.c and drv_system.c contain code for too many topics.
Later commits will relocate the code as appropriate.

Not even looked at utils yet.  'Utils' is a bad naming practice and is a
synonym for 'too lazy to find the right file/name'.
2014-04-08 16:11:17 +01:00
Trey Marc
6624382ea8 Update serial.c
prevent user to reboot if armed, due to cli and save or reboot to bootlooader.

4f3ab5b991
2014-04-08 07:53:13 +02:00
Dominic Clifton
163b8deeea Merge remote-tracking branch 'multiwii/master'
Conflicts:
	src/board.h
2014-04-08 01:32:01 +01:00
Dominic Clifton
45dc25def1 Use the appropriate GPIO pin defines. 2014-04-08 01:25:23 +01:00
Dominic Clifton
30d5f13323 Fix LED support for OLIMEXINO and FY90Q targets. 2014-04-08 01:17:22 +01:00
Dominic Clifton
28b7178418 Whitespace changes to be inline with multiwii/master. 2014-04-08 00:57:30 +01:00
Dominic Clifton
5b3ba7a1d3 Merge remote-tracking branch 'multiwii/master' 2014-04-08 00:47:49 +01:00
dongie
1ebbb8b7a7 Merge pull request #17 from ghost/PR-001
Fixed drv_serial inline function declarations
2014-04-08 08:29:45 +09:00
dongie
c1cdf8b844 fixing fucked up struct definitions;
updated uvision project;
updated hex file;
2014-04-08 08:25:25 +09:00
Dominic Clifton
1838703853 Code style cleanups. 2014-04-08 00:00:21 +01:00
Dominic Clifton
993edc4e20 More HoTT code style cleanups. 2014-04-07 23:58:57 +01:00
Dominic Clifton
6a4614e116 Cleanup comment imported HoTT code, comment style, incorrect comments,
spacing.
2014-04-07 23:40:07 +01:00
Dominic Clifton
24d162dc3e Fixing code style on some HoTT code. 2014-04-07 23:20:35 +01:00
Dominic Clifton
ce3b7859da Fixing a comma that should have been a semi-colon in the code. Fixing
some trailing spaces.
2014-04-07 23:18:50 +01:00
Dominic Clifton
bf59943578 Fixing indentation and spacing of imported HoTT code. 2014-04-07 23:17:11 +01:00
Dominic Clifton
c012e7480f Merge remote-tracking branch 'multiwii/master' into hott-telemetry 2014-04-07 23:08:03 +01:00
Dominic Clifton
00cdbe3438 Fixing typo in telemetry port configuration logic. 2014-04-07 22:44:14 +01:00
Dominic Clifton
c26d6362b1 Rename some telemetry variables and methods to better indicate the
intent of the code and thus the readability and maintainability of it.
2014-04-07 22:31:20 +01:00