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

114 commits

Author SHA1 Message Date
mikeller
201d30ef60 Fixed LED_STRIP orientation for indicators. 2017-02-12 21:07:07 +01: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
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