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

91 commits

Author SHA1 Message Date
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
TheAngularity
2537416142 fixed ledstrip warning overlay - line 708 back again 2016-07-20 21:22:30 +02:00
TheAngularity
cfc38960f2 fixed ledstrip warning overlay long dark pause between blinks 2016-07-20 20:46:18 +02:00
TheAngularity
8ecd5e10c8 fixed warning blink with better visualisation
used a second black color for better blink effect
2016-07-20 15:42:40 +02:00
borisbstyle
ddf1f80b48 Revert "Revert "Betaflight led strip resubmit""
This reverts commit 63c7ae18ff.
2016-07-18 09:19:13 +02:00
borisbstyle
63c7ae18ff Revert "Betaflight led strip resubmit" 2016-07-16 11:24:05 +02:00
gaelj
99110b2b8b visual beeper got left out 2016-07-12 19:40:09 +02:00
gaelj
f8906956ad Fix freeze if LED 0 is color only 2016-07-12 19:40:09 +02:00
gaelj
aab0a56068 CF new LED strip port
Requires configurator update.

LED strip Cleanup.
New LED functions:
- GPS (G)
- Battery (L)
- RSSI (S)
- Larson Scanner (O)
- Blink (B)
- Blink on landing (N)

Mode colors and special colors are configurable (mode_color in CLI, MSP_LED_STRIP_MODECOLOR & MSP_SET_LED_STRIP_MODECOLOR)
2016-07-12 19:40:08 +02:00
Martin Budden
3a0f8388ee Changed tabs to spaces in io/ 2016-07-09 13:29:01 +01:00
blckmn
924c891bf1 Update to LED STRIP to use new IO 2016-07-02 14:38:04 +10:00
nathan
e07808e2a8 it builds 2016-06-15 21:02:48 -07:00
sblakemore
2df7e3cefa Add RTC6705 SPI VTX support 2016-05-31 07:15:37 +10:00
borisbstyle
80e047e651 Fix compile errors in ledstrip.c 2016-05-24 21:59:34 +02:00
borisbstyle
df6d564a9d Revert "Revert "Added 'ledstrip_visual_beeper' feature.""
This reverts commit f8aefc9c6f.
2016-05-24 14:05:52 +02:00
borisbstyle
f8aefc9c6f Revert "Added 'ledstrip_visual_beeper' feature."
This reverts commit d6e7ed3560.
2016-05-24 10:46:23 +02:00
Michael Keller
d6e7ed3560 Added 'ledstrip_visual_beeper' feature.
Added build condition for LED strip related config option.

Added 'ledstrip_visual_beeper' feature.

Added build condition for LED strip related config option.
2016-05-17 08:46:21 +12:00
Larry (TBS)
1531c07687 - Add defulat LED Strip values for Colibri Race 2016-04-22 16:40:37 +08:00
borisbstyle
3a156f98ab Fix LED_STRIP feature // Add DMA drivers // UART fixes 2016-02-10 22:36:05 +01:00
DarkVegetableMatter
942c89237e Battery auto-detect and LPF for battery monitoring 2015-08-04 03:04:12 +01:00
Dominic Clifton
b794e263e8 Fix compiler errors for old led animation code. 2015-07-17 01:05:14 -07:00
Michael Hope
5c6760fd82 various: tidy up various things found when building with a C++ compiler.
Remove duplicate consts.
Pull in the include files where functions and variables are declared.
Mark file local but duplicated variables as static.
Mark some variable declarations as extern.
Remove duplicated variable definition.

Signed-off-by: Michael Hope <mlhx@google.com>
2015-06-04 22:32:31 +02:00
Dominic Clifton
c8c0c85656 First-cut of a refactored failsafe system.
* fixes issue where indicators would flash when SBus RX entered failsafe
mode.
* fixes bug where turning off a TX for an SBus RX would instantly disarm
when using a switch to arm when the channel went outside the arming
range.
* introduces failsafe phases to make the system more understandable.
* allows the system to ask if rxSignalIsBeing received for all RX
systems: PPM/PWM/SerialRX/MSP.  Also works when a serial data signal is
still being received but the data stream indicates a failsafe condition
- e.g.  SBus failsafe flags.
* failsafe settings are no-longer per-profile.

Untested: Sumd/Sumh/XBus/MSP (!)
Tested: SBus X8R, Lemon RX Sat, X8R in PWM, Spektrum PPM.
2015-04-16 01:31:12 +01:00
Dominic Clifton
e40a3663d2 Remove failsafe vtable usage. 2015-03-09 23:19:21 +01:00
Dominic Clifton
5512ff08c3 Allow thrust color to be combined with throttle. 2015-02-01 18:34:37 +00:00
Dominic Clifton
55cac2bdeb Finally rename flight.c/.h to pid.c/.h. Cleanup some dependencies.
Relocate more code.
2015-02-01 00:39:38 +01:00
Dominic Clifton
52f082fcd7 LedStrip - Add support for solid colors. Update default LED strip
configuration to include a ring.

Also includes documentation updates that were not updated when ring
support was added.
2015-01-25 16:21:38 +01:00
Dominic Clifton
3fc7f32324 Merge branch 'imu-cleanup' of https://github.com/avoid3d/cleanflight into avoid3d-imu-cleanup 2015-01-25 01:00:14 +01:00
Pierre Hugo
be03ed95fa Renamed min, max and abs macros to MIN MAX and ABS. 2015-01-23 22:40:00 -08:00
Dominic Clifton
793f83c438 Remove commented out old code. 2015-01-23 02:13:36 +01:00
Dominic Clifton
9fb1863d74 Update LED ring code to have the documented behavior.
The logic is greatly simplified compared to the code in the original
pull request.
2015-01-23 00:06:20 +01:00
Dominic Clifton
b50c5d9724 Simplify and cleanup led ring code.
This changes the behaviour, but since the effect is nice we'll mark it
with a commit.
2015-01-22 23:46:23 +01:00
Dominic Clifton
ae752217c6 Avoid static use. Causes problems when the amount of LEDs in the ring
is odd.
2015-01-22 22:56:38 +01:00
St7ven
ddc7a39fa2 Add support for LED thrust ring. (St7ven)
This commit includes various fixed not included in the original pull request.
2015-01-22 22:20:00 +01:00
Dominic Clifton
d2536e3792 Ensure LED configuration is re-evaluated after changes to led
configuration are made via MSP.
2015-01-22 21:38:09 +01:00
Dominic Clifton
a2628c59d5 Cleanup whitespace. 2015-01-22 21:36:05 +01:00
Chris Penny
a6409a030b LED on/off changes to ledStripEnabled flag 2015-01-21 09:54:27 +00:00