Bruce Luckcuck
33202b33b0
Fix gyro_filter_debug_axis settings definition
...
Setting was incorrectly placed in the PROVILE_VALUE but should be in the MASTER_VALUE section.
2019-01-22 09:44:55 -05:00
mikeller
3e37d75645
Fixed position calculation for OSD stick position elements.
2019-01-23 00:49:12 +13:00
mikeller
3e1e467079
Make battery voltage / current filter cutoffs configurable.
2019-01-22 22:45:59 +13:00
mikeller
b1d989ac41
Remove the OSD_MENU arming disabled flag, as it is redundant to the CMS_MENU flag.
2019-01-22 18:21:31 +13:00
Michael Keller
c39ea81b6a
Merge pull request #7427 from fujin/dyn-lpf-debug-pitch
...
Extend gyro filter implementation debugging for pitch and yaw axis
2019-01-22 18:11:53 +13:00
Michael Keller
f097df6fbd
Merge pull request #7438 from mikeller/fix_ledstrip_unit_tests
...
Fixed unit tests using 'ledstrip.c'.
2019-01-22 18:10:56 +13:00
Michael Keller
46c4da05a1
Merge pull request #7443 from etracer65/cms_multiple_entry_wedging
...
Fix array overflow/wedge after multiple entries into CMS
2019-01-22 18:10:37 +13:00
Michael Keller
eb2e2d2eb6
Merge pull request #7439 from jflyper/bfdev-stdperiph-sdcard-quick-fix-after-shard-SPI
...
[SDCARD] Quick fix: Discard excess/bogus data in DR at prologue of spiTransferByte
2019-01-22 18:08:18 +13:00
Michael Keller
72383f3064
Merge pull request #7441 from Scavanger/CMS-Fullscreen
...
Clean fullscreen for HoTT-Textmode (and other displayports)
2019-01-22 17:50:28 +13:00
Michael Keller
e020bcca9e
Merge pull request #7442 from etracer65/ledstrip_excessive_cpuload
...
Refactor ledstrip profiles to fix excessive cpu load
2019-01-22 17:31:56 +13:00
Bruce Luckcuck
1c6f801030
Fix OSD warnings settings to use UINT32 type
...
Missed in #7423
2019-01-21 09:07:42 -05:00
AJ Christensen
5bcf35c7af
Extend gyro filter implementation debugging for pitch and yaw axis.
...
* Introduce CLI parameter gyro_filter_debug_axis which defaults to 'ROLL',
the previous behavior. When set to either PITCH, or YAW, the debug logging
implementation in the gyro filtering will use that axis instead.
2019-01-21 22:22:37 +13:00
Bruce Luckcuck
a0eb2c8fa7
Fix array overflow/wedge after multiple entries into CMS
...
The menu stack counter was not being reset when CMS was initially entered and multiple entries can cause an array overflow/memory corruption and wedge.
Previosuly the problem was accidentally prevented because the user was required to "back out" through the menus to exit which decremented the array index. However with the addition of the popup exit/save menu it became possible to exit without traversing back through the menu structure and this bug was exposed.
2019-01-20 22:40:06 -05:00
Bruce Luckcuck
744d9eb7a3
Refactor ledstrip profiles to fix excessive cpu load
...
Previous logic bypassed optimizations and updated the ws2811 on every task execution - leading to and average of 92us task execution time. Restored the previous optimizations and additionally optimized the new "RACE" and "BEACON" modes so that they only update the led's when there's an actual state change. Task time for these modes is now in the 2-4us range for F405. For the normal "STATUS" profile the performance has been restored to previous optimized levels and typical configurations will generally have task times in the 8-14us range.
Revised the LEDLOW disable mode to function all the time and disable the ledstrip completely. Previously if visual beeper was enabled that would override the disable and the ledstrip would display whatever would be otherwise displayed but only during the duration of the beep. The resulted to a very inconsistent behavior depending on the user's settings.
Added visual beeper support to the new "RACE" and "BEACON" profile modes.
General cleanup and refactoring.
2019-01-20 19:21:47 -05:00
Michael Keller
8e2cba97da
Merge pull request #7431 from DieHertz/f4-uart-fix-incorrect-enum
...
Fixed incorrect enum value being used for GetITStatus on F4
2019-01-21 11:35:59 +13:00
Michael Keller
22a820a6ff
Merge pull request #7436 from etracer65/fix_ledstrip_defines
...
Fix LEDSTRIP defines to prevent compilation errors
2019-01-21 11:35:12 +13:00
Michael Keller
aaad98ecc3
Merge pull request #7435 from etracer65/use_fabsf_for_floats
...
Use fabsf() instead of ABS() for floats
2019-01-21 11:34:47 +13:00
Michael Keller
9e9a46ef0d
Merge pull request #7433 from etracer65/cli_expose_feature_cut_level
...
Add FEATURE_CUT_LEVEL to the cli version command output
2019-01-21 11:34:22 +13:00
Michael Keller
f72bc436f8
Merge pull request #7432 from etracer65/zero_throttle_anti_windup_in_pidloop
...
Move anti-windup iterm reset from rx loop to pid loop
2019-01-21 11:33:58 +13:00
Michael Keller
8740e484f7
Merge pull request #7393 from kmitchel/dyn_filt_init
...
Allow dyn lpf to initialize if static lpf config is 0.
2019-01-21 11:32:20 +13:00
jflyper
f96508ceec
Define and use DISCARD
2019-01-21 05:50:01 +09:00
Michael Keller
f8934c357b
Merge pull request #7429 from mikeller/migrate_f3_to_feature_cut_levels
...
Migrate the remaining F3 targets to feature cut levels.
2019-01-21 09:10:15 +13:00
Scavanger
dd30009925
"Fullscreen" mode for displayports.
2019-01-20 20:46:23 +01:00
Scavanger
c7b2260645
Merge pull request #9 from betaflight/master
...
Sync to Betaflight/Betaflight
2019-01-20 19:42:38 +01:00
jflyper
35ade68bb3
Discard excess/bogus data in DR
2019-01-21 01:02:10 +09:00
mikeller
18496fe745
Fixed unit tests using 'ledstrip.c'.
2019-01-21 01:01:05 +13:00
Michael Keller
62da4d09e6
Merge pull request #7424 from jflyper/bfdev-make-USE_SPI_TRANSACTION-generic-F4-feature
...
[F4] Make USE_SPI_TRANSACTION generic feature for F4
2019-01-21 00:33:46 +13:00
mikeller
e983ebf702
Migrate the remaining F3 targets to feature cut levels.
2019-01-21 00:21:49 +13:00
Michael Keller
bdf179c4b8
Merge pull request #7428 from mikeller/add_target_mcu_listing
...
Added the ability to print lists of targets by MCU type to the Makefile.
2019-01-20 23:58:42 +13:00
Bruce Luckcuck
6034143a59
Fix LEDSTRIP defines to prevent compilation errors
2019-01-19 14:59:22 -05:00
Bruce Luckcuck
3d671c7134
Use fabsf() instead of ABS() for floats
...
The ABS() macro doesn't handle -0 floats correctly. Also fabsf() is more efficient.
2019-01-19 14:15:54 -05:00
Bruce Luckcuck
b68717a03b
Add FEATURE_CUT_LEVEL to the cli version command output
2019-01-19 11:42:08 -05:00
Bruce Luckcuck
d867aeced3
Move anti-windup iterm reset from rx loop to pid loop
...
Having the iterm resetting happening in the rx loop causes a sawtooth PID/motor effect while idling since the PID loop is running at a much higher rate and iterm is allowed to grow during this, and then only reset at a much lower rate in the rx loop. This can potentially lead to some oscillation and/or resonance while idling before takeoff as the sawtooth signal can make it through to the motor outputs.
2019-01-19 11:18:24 -05:00
Andrey Mironov
4e5f0e3c54
Fixed incorrect enum value being used for GetITStatus on F4
2019-01-19 16:25:57 +03:00
Michael Keller
628fdb8adc
Merge pull request #7409 from mikeller/fix_4way_conditionals
...
Fixed conditionals for 4 way ESC boot loader.
2019-01-19 23:28:58 +13:00
Michael Keller
dfb438cc5b
Merge pull request #7303 from pkruger/4278-LED-profiles-switchable-via-OSD
...
Add LED strip profile feature
2019-01-19 23:18:41 +13:00
Pieter Kruger
4ec536a317
Add LED profile feature - 4278
2019-01-19 20:23:03 +10:00
mikeller
5c4d94457c
Added the ability to print lists of targets by MCU type to the Makefile.
2019-01-19 15:09:26 +13:00
Michael Keller
8be90d44a9
Merge pull request #7422 from jflyper/bfdev-isr-vector-to-ram-for-F411
...
[F411] Provide VECTAB segment as alias to RAM
2019-01-19 14:47:50 +13:00
Michael Keller
cb78e3e457
Merge pull request #7423 from etracer65/osd_warnings_uint32
...
Extend OSD warnings storage to 32bits; add count to MSP
2019-01-19 14:23:52 +13:00
Michael Keller
7eedfff428
Merge pull request #7415 from jflyper/bfdev-change-call-timing-of-vtxInit-after-device-parameter-init
...
[VTX] Follow-up to #7285 vtx changes
2019-01-19 14:23:18 +13:00
mikeller
71216cd878
Fixed conditionals for 4 way ESC boot loader.
2019-01-19 10:56:16 +13:00
Michael Keller
fddd624220
Merge pull request #7426 from mikeller/migrate_flash_cuts_chebuzzf3_midelicf3_spracingf3evo
...
First wave of feature cut conversions: CHEBUZZF3, MIDELICF3, and SPRACINGF3EVO.
2019-01-19 10:41:05 +13:00
mikeller
5b3f54874d
First wave of feature cut conversions: CHEBUZZF3, MIDELICF3, and SPRACINGF3EVO.
2019-01-19 00:53:09 +13:00
Michael Keller
b4663aa5a5
Merge pull request #7419 from etracer65/stale_baro_parms
...
Remove stale baro parameter baro_cf_alt
2019-01-18 23:47:08 +13:00
Michael Keller
96d2538b5d
Merge pull request #7410 from mikeller/fix_osd_conditionals
...
Fixed conditionals in OSD code.
2019-01-18 23:12:16 +13:00
Michael Keller
2e2609fbb6
Merge pull request #7417 from phobos-/flysky-refactor
...
Added flysky spi rx specific cli commands
2019-01-18 23:11:41 +13:00
Michael Keller
3557104c61
Merge pull request #7403 from mikeller/flash_overflow_new_approach
...
For discussion: Take a methodical approach to dealing with flash overflows.
2019-01-18 18:52:25 +13:00
Michael Keller
c99a52ca38
Merge pull request #7284 from etracer65/telemetry_disabled_sensors_detailed_parms
...
Expose individual telemetry sensor disable flags as parameters (F4+)
2019-01-18 18:51:31 +13:00
jflyper
95905ff666
Make USE_SPI_TRANSACTION generic feature for F4
2019-01-18 13:04:59 +09:00