mikeller
b489d0ba9d
Renamed 'parameter_group' to 'pg'.
2017-12-19 23:36:31 +13:00
Michael Keller
1c5c7476c1
Merge pull request #4541 from mikeller/cleanup_rssi
...
Cleaned up handling of RSSI, added resetting to 0 for RSSI over MSP.
2017-11-12 10:35:26 +13:00
mikeller
c6b88e5d04
Cleaned up handling of RSSI, added resetting to 0 for RSSI over MSP.
2017-11-12 01:22:12 +13:00
jflyper
b03781c9bb
Prevent led strip code from calling vtx api when vtx is absent
2017-11-11 12:28:04 +09:00
mikeller
b78d8ad83e
Converted more 'feature' type defines to use the 'USE_<x>' convention: LED_STRIP TARGET_CONFIG BRUSHED_ESC_AUTODETECT SERIAL_RX TELEMETRY TELEMETRY_CRSF TELEMETRY_FRSKY TELEMETRY_HOTT TELEMETRY_IBUS TELEMETRY_JETIEXBUS TELEMETRY_LTM TELEMETRY_MAVLINK TELEMETRY_SMARTPORT TELEMETRY_SRXL TELEMETRY_NRF24_LTM TELEMETRY_LTM SPEKTRUM_BIND NAV BUTTONS
2017-11-07 18:49:12 +13:00
mikeller
a8d34dabb0
Changed defines for GYRO/ACC/MAG/BARO/GPS/SONAR/OSD/BLACKBOX/CMS to conform to the USE_ convention.
2017-11-05 10:15:24 +13:00
Jahnkeanater
81705f5dcd
Change VTX colors to custom defined colours
2017-10-16 20:34:15 -05:00
Jahnkeanater
6cc664683e
Fix frequency lookup table.
...
frequency = vtx58frequencyTable[band][channel];
returns the wrong frequency. Shifting left and up by 1 row and column should fix it.
2017-10-14 02:29:07 -05:00
Jahnkeanater
c1763bc0cb
Update ledstrip.c
...
Fixed 5828 so it does not fall directly on B6.
2017-10-13 15:22:52 -05:00
Jahnkeanater
09cbe88a38
Update ledstrip.c
2017-10-13 13:22:34 -05:00
Jahnkeanater
bf230e175e
Update ledstrip.c
...
rewrite based on si618's code.
2017-10-13 13:09:54 -05:00
Jahnkeanater
f52e4c23af
Update ledstrip.c
2017-10-12 23:31:04 -05:00
Jahnkeanater
be16caa05a
VTX color based on frequency
...
VTX controlled LED color. 8 fixed colors rather than a variable hue. This ensures a perceivable color difference. The channel groups are based on 39Mhz spacing across the full spectrum.
2017-10-12 22:44:43 -05:00
Martin Budden
53f5e87c7a
Add void to function declarations/definitions where required
2017-09-24 09:22:48 +01:00
mikeller
7514c4ca26
Restrict LED_STRIP fading to modes where it acutally works.
2017-09-13 13:42:45 +12:00
Dan Nixon
e0ebee168a
Remove the ability to disable stage 2 failsafe
2017-07-19 09:47:09 +01:00
Martin Budden
a86ac89448
Whitespace tidy
2017-07-05 09:34:44 +01:00
Martin Budden
3d4f0bb137
Whitespace tidy
2017-07-05 06:36:22 +01:00
mikeller
31df82db2d
Reworked arming conditions.
2017-06-30 08:43:46 +12:00
Martin Budden
564e0c94b8
Move some GPS variables into struct. Some alignment with iNav
2017-06-25 14:44:04 +01:00
Dominic Clifton
db006b1585
Merge pull request #2856 from ledvinap/improvement-64bit-boxid
...
array based box masks
2017-06-19 13:31:08 +12:00
sheaivey
e0ed02219d
Adding VTX LED strip overlay
...
Squashed commits:
[6f4441f] Default to values out of range for initial check.
[85c1fa4] updating comments.
[24c004b] cleaning up loose ends
[83e015f] show led for each power level
[8f0d8ee] replacing “blink on landing” with VTX overlay.
[663aea3] Stubbing out the initial VTX overlay functionality.
2017-06-11 22:53:00 -07:00
Michael Keller
e8b9bc3290
Changed beeper warning LED to only activate when no other warnings are shown.
2017-06-02 20:12:19 +12:00
Michael Keller
d393746647
Merge pull request #3138 from mikeller/added_beeper_indication_to_led_warning
...
Added orange indication when beeper active to 'Warning' beeper mode.
2017-05-28 23:34:33 +12:00
DrClaes
d22b32d969
Fixed whitespace
2017-05-27 10:38:57 +02:00
DrClaes
7566e41550
Fixed modulo math
2017-05-27 08:18:05 +02:00
DrClaes
be91983bb4
Made suggested changes to style and function
...
Style suggestions adopted.
Use centerPWM (average of max and min PWM) for readability.
No longer resets hOffset, means that other functions (battery and rssi, currently) which use this still add to the hue
2017-05-27 08:05:21 +02:00
DrClaes
1d091c317c
Adjusted throttle led behavior
2017-05-27 00:00:20 +02:00
DrClaes
255d781305
Improved Throttle LED functionality
...
Fades the LED smoothly from the previous color through the chosen color to the next color as throttle is advanced.
2017-05-25 22:36:42 +02:00
Michael Keller
7f348b997e
Added orange indication when beeper active to 'Warning' beeper mode.
2017-05-24 13:01:35 +12: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