1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00
Commit graph

127 commits

Author SHA1 Message Date
Martin Budden
23f158913e Moved time functions out of system.h into time.h 2017-05-26 14:03:28 +01:00
Hydra
2b1dac4c6d CF/BF - First cut of allow building of the OSD SLAVE board without all
the flight controller code.

Likely the dependencies can be further improved.  This is a
minimal-impact solution while there are a lot of other Betaflight PR's
still pending.
2017-04-12 00:39:27 +01:00
Martin Budden
0219d6adc7 Updated accgyro locking. Printf tidy 2017-04-10 14:54:25 +01:00
Hydra
067d3c0ac2 CF/BF - First cut of Current/Voltage/Battery cleanup.
many refactorings, bugs squished, concerns separated,
single-responsibility violations fixed and performance optimizations.
2017-03-19 10:40:03 +00:00
Martin Budden
58a8bf3b6c USE_PARAMETER_GROUPS tidy 2 2017-03-10 07:39:09 +00:00
Martin Budden
8a8aae49b9 Merge pull request #2490 from martinbudden/bf_pg_configs5
Added PG config definitions 5
2017-02-27 06:25:28 +00:00
Maxim Strinzha
e0e798a8e4 LED strip issues #2501 2017-02-26 22:26:09 +03:00
Martin Budden
df14abc5c2 Added PG config definitions 5 2017-02-26 08:06:14 +00:00
Martin Budden
ed549b5884 Fix ledstrip merge error 2017-02-21 11:46:38 +00:00
borisbstyle
de3d1d527d Merge branch 'master' into patch_v3.1.6 2017-02-20 14:40:43 +01:00
Martin Budden
df630f1cf4 Preparation for conversion to parameter groups 8 2017-02-16 21:54:16 +00:00
Martin Budden
d2ac5d84b1 Preparation for conversion to parameter groups 7 2017-02-16 21:28:29 +00:00
mikeller
201d30ef60 Fixed LED_STRIP orientation for indicators. 2017-02-12 21:07:07 +01:00
Martin Budden
79d4b2146d Preparation for conversion to parameter groups 2017-02-01 08:46:19 +00:00
Martin Budden
b269de2acc Renamed drivers/pwm_rx.c to drivers/rx_pwm.c 2016-12-28 19:04:39 +00:00
atomiclama
ae5b3ae30c Changes from code review. 2016-12-19 07:43:42 +00:00
atomiclama
cdf7e43ab1 cppcheck warning removal 2016-12-16 14:26:16 +00:00
Michael Jakob
46387c9dbe Cleanup ENUM usage 2016-12-04 16:09:21 +01:00
Martin Budden
8d3c825646 Converted currentTime to currentTimeUs 2016-12-01 20:00:44 +00:00
mikeller
e782ca55e6 Unified 'calculateBatteryPercentage' and 'calculateBatteryCapacityRemainingPercentage'.
Fixed tests.

Changed consumption calculations to be based on latest amperage value.
2016-12-01 13:14:14 +13:00
mikeller
78e7bd4759 Cleaned up led strip timer / delay handling. 2016-11-21 22:09:53 +13:00
Michael Keller
8d36b2ae89 Cleaned up some ambiguos names / unlogical value ranges in 'ledstrip.c'. 2016-11-18 13:26:22 +13:00
Anders Hoglund
b6e21fdee7 Fixed sero div error. 2016-11-17 21:44:53 +01:00
Martin Budden
7c8cb3205d Removed trailing spaces 2016-11-11 07:48:00 +00:00
Martin Budden
dea71df659 Converted tabs to spaces 2016-11-11 07:25:20 +00:00
jflyper
e9a2f2b2c1 Merge remote-tracking branch 'betaflight/master' into bfdev-osd-cms-separation-poc 2016-11-06 02:43:24 +09:00
blckmn
e56f915018 Moving LED strip to be configurable via resource command 2016-11-05 13:35:20 +11:00
gaelj
431295ab21 Enable using of any RC channel to set the color hue modifier.
Can be set via MSP (bumped to version 22)
New CLI command: mode_color 7 0 AUX_Channel
AUX_Channel:
    ROLL = 0
    PITCH = 1
    YAW = 2
    THROTTLE = 3
    AUX1 = 4
    AUX2 = 5
    AUX3 = 6
    AUX4 = 7
    AUX5 = 8
    AUX6 = 9
    AUX7 = 10
    AUX8 = 11

Fixed CLI defaults printing for #1019.
2016-10-28 11:31:16 +13:00
jflyper
38660aa8a6 Touch-ups, tidy, bandwidth mgmt on serial canvas 2016-10-25 14:34:08 +09:00
jflyper
6cf9086f56 CMS-OSD separation 2016-10-23 19:03:35 +09:00
Martin Budden
a771280b50 Moved config.c from config directory to fc directory 2016-10-18 08:57:39 +01:00
Martin Budden
c0d87ca657 Improved consistency of update fn naming. GPS update tidy. 2016-10-16 08:18:03 +01:00
Martin Budden
1d6240c9d5 Merge pull request #1208 from mikeller/cleanup_ledstrip_blink_frequency
Cleaned up LED_STRIP indicator blink frequency calculation.
2016-10-15 13:24:41 +01:00
Martin Budden
a11d0bdb4d Split escAndServoConfig into motor and servo parts 2016-09-26 19:24:52 +01:00
Michael Keller
fcf0559d2f Cleaned up LED_STRIP indicator blink frequency calculation. 2016-09-23 12:56:06 +12:00
Martin Budden
2f9ca4355c currentTime passed in scheduler task call 2016-09-17 16:01:37 +01:00
borisbstyle
ac4732cd03 Merge pull request #979 from martinbudden/bf_features
Split features into a separate module
2016-09-14 00:02:48 +02:00
borisbstyle
05908aad4d Merge branch 'master' into development 2016-09-11 01:16:53 +02:00
mikeller
2baa1e1d39 Fixed broken LEDSTRIP 'west' indicator. 2016-09-06 22:44:19 +12:00
Martin Budden
a257210b56 Split features into a separate module 2016-09-04 18:48:58 +01:00
blckmn
9bdb4a9b25 Merge branch 'betaflight' into development
# Conflicts:
#	src/main/flight/pid.c
#	src/main/main.c
#	src/main/target/IRCFUSIONF3/target.h
2016-08-27 08:34:23 +10:00
mikeller
2f14f61190 Fixed lockups on LED_STRIP configuration. 2016-08-23 01:21:19 +12:00
Michael Keller
17df76e63b Merge branch 'master' into development 2016-08-18 12:12:46 +12:00
mikeller
fe0a8d602e Added default value display for CLI dump / diff. 2016-08-18 11:17:01 +12:00
borisbstyle
cb2b63112d Cleanup some target junk 2016-08-09 15:18:21 +02:00
mikeller
f9354e53b3 Graft of 'cli_diff_command' into 'master'. 2016-08-10 00:03:53 +12:00
mikeller
31c3790a5d Added CLI 'diff' command. 2016-08-09 07:26:32 +12:00
borisbstyle
541b28cfc0 Merge pull request #920 from martinbudden/bf_directories
Directory rearrangement to reflect Cleanflight changes
2016-08-08 16:40:11 +02:00
Michael Keller
8e8e6d4d49 Changed LEDSTRIP default config to all LEDs undefined. 2016-08-08 09:44:47 +12:00
Martin Budden
541f4d4018 Directory rearrangement to reflect cleanflight changes 2016-08-07 13:44:00 +01:00