Commit Graph

10652 Commits

Author SHA1 Message Date
Martin Budden 62ad67f45b Change attitude task freqency when in angle or horizon mode 2018-02-01 11:31:41 +00:00
Martin Budden 4509e8d237
Merge pull request #5096 from martinbudden/bfa_imu_mag
Avoid compass calculation in IMU when USE_MAG not defined
2018-02-01 11:18:31 +00:00
Martin Budden 3883e6a686
Merge pull request #5083 from martinbudden/bfa_common_target_tidy
Tidy of common target #defines
2018-02-01 11:15:50 +00:00
Martin Budden f000d7bf10
Merge pull request #5095 from martinbudden/bfa_fc_tasks
Tidy of fc_tasks
2018-02-01 10:50:40 +00:00
Martin Budden d7ccd2488c Avoid compass calculation in IMU when USE_MAG not defined 2018-02-01 10:48:05 +00:00
Martin Budden 6678302103 Tidy of fc_tasks 2018-02-01 09:06:32 +00:00
Martin Budden 28e104e7da Tidy of common target #defines 2018-02-01 08:13:16 +00:00
Martin Budden 67d33b0a52
Merge pull request #5082 from martinbudden/bfa_target_undefs
Removed unnecessary target #undefs
2018-02-01 08:08:27 +00:00
Michael Keller f45c503738
Merge pull request #5077 from mikeller/enable_external_osd_for_all_targets
Enabled external OSD for all targets.
2018-02-01 09:35:26 +13:00
Martin Budden 46615c8db8
Merge pull request #5081 from AndersHoglund/spektrum_vtx_telemetry
Spektrum VTX status via telemtry added. Some code shrinkage also.
2018-01-31 20:09:20 +00:00
Anders Hoglund 180751fe06 Spektrum VTX status via telemtry added. Some code shrinkage also. 2018-01-31 15:46:17 +01:00
Martin Budden 67fd67a15f Removed unnecessary target #undefs 2018-01-31 14:31:07 +00:00
Martin Budden b4d399eb3a
Merge pull request #4935 from etracer65/runaway_takeoff_prevention
Initial implementation of Runaway Takeoff Prevention (anti-taz)
2018-01-31 13:54:04 +00:00
Bruce Luckcuck a32b05c284 Initial implementation of Runaway Takeoff Prevention (anti-taz)
Detects runaway pidSum values on takeoff and auto-disarms to prevent the "Tasmanian Devil" caused by incorrect props, wrong motor order/direction, incorrect flight controller orientation, etc.  After a successful takeoff and normal flight is detected the feature is disabled for the remainder of the battery.
2018-01-31 07:36:16 -05:00
Martin Budden 52c629751c
Merge pull request #5071 from AndersHoglund/spektrum_rx_protocol_corrections
Spektrum protocol corrections, VTX ctrl and srxl tm in correct phases.
2018-01-31 11:49:58 +00:00
Michael Keller 6553122079
Merge pull request #4313 from martinbudden/bf_six_rate_profiles
Increased number of rate profiles to 6
2018-02-01 00:24:13 +13:00
Michael Keller eca67c24f2
Merge pull request #5079 from martinbudden/bfa_rssi_source_type
Fixed rssi source type
2018-02-01 00:19:57 +13:00
Michael Keller 6b4dfcaff7
Merge pull request #5078 from martinbudden/bfa_vtx_update
Remove unnecessary currentTime checking in vtxUpdate
2018-02-01 00:10:07 +13:00
Anders Hoglund 7e54f8cdc9 Spektrum protocol corrections, VTX ctrl and srxl tm in correct phases. 2018-01-31 11:21:15 +01:00
Martin Budden 7acebf8b34 Increased number of rate profiles to 6 2018-01-31 09:21:53 +00:00
Martin Budden 4e0a40ceb9 Fixed rssi source type 2018-01-31 09:00:37 +00:00
Martin Budden a655d7ae85 Remove unnecessary currentTime checking in vtxUpdate 2018-01-31 08:19:19 +00:00
mikeller 0572e8de00 Enabled external OSD for all targets. 2018-01-31 19:17:39 +13:00
Michael Keller ab1812455f
Merge pull request #5008 from martinbudden/bfa_use_osd
Move define of USE_OSD into common_fc_pre.h
2018-01-31 19:16:04 +13:00
Michael Keller b22e84a2e1
Merge pull request #4998 from martinbudden/bfa_vtx_rtc6705_tidy
Remove VTX frequency table and band name duplication from RTC6705
2018-01-31 19:14:12 +13:00
Michael Keller 3774ee2bae
Merge pull request #5075 from etracer65/omnibus_remove_rtc_time
Remove RTC_TIME from OMNIBUS to free up flash space
2018-01-31 15:21:14 +13:00
Bruce Luckcuck b8e3b9b7a6 Remove RTC_TIME from OMNIBUS to free up flash space
Added #undef USE_RTC_TIME to target/OMNIBUS/target.h
Frees up 1384 bytes.
2018-01-30 20:49:56 -05:00
Michael Keller 8db45109fe
Merge pull request #5065 from mikeller/rearrange_beerotorf4_dma
Rearranged BEEROTORF4 DMA to make quad mixer work with LED_STRIP.
2018-01-31 13:21:29 +13:00
Michael Keller 69297d0dc2
Merge pull request #5070 from betaflight/revert-5061-fc_core_size_optimization
Revert "Size Optimization: Move time-critical code from fc_core.c to fc_tasks.c"
2018-01-31 09:48:55 +13:00
Michael Keller 14b3d574f7
Revert "Size Optimization: Move time-critical code from fc_core.c to fc_tasks.c" 2018-01-31 08:41:46 +13:00
Martin Budden 6271ddb60d
Merge pull request #5068 from etracer65/pidsum_calc_optimize
Optimize pidSum calculation by storing the value rather than recalculating in multiple places
2018-01-30 19:32:26 +00:00
Bruce Luckcuck fba0b2cea3 Optimze pidSum calculation by storing the value rather than recalculating in multiple places.
Saves 72 bytes. Will save at least that additionally when incorporated into Runaway Takeoff Prevention (which also calculates the pidSum in two places).

Additionally adds a slight performance improvement by not repeating the floating point additions to calculate the pidSum in multiple places.  Effectively replaces 2 calculations with 1 (4 with 1 with Runaway Takeoff Prevention).
2018-01-30 09:58:41 -05:00
Michael Keller 6efe34d4da
Merge pull request #5062 from betaflight/de_msp_oob_handling
Handle MSP out of band data with guard interval
2018-01-31 01:26:27 +13:00
mikeller 174e53089e Rearranged BEEROTORF4 DMA to make quad mixer work with LED_STRIP. 2018-01-30 22:50:32 +13:00
Konstantin Sharlaimov (DigitalEntity) fda453ca74 Fix failing SPRACINGF3OSD build 2018-01-30 12:46:19 +10:00
Konstantin Sharlaimov (DigitalEntity) 5fa8971b1c Handle MSP out of band data with guard interval 2018-01-30 12:11:12 +10:00
Michael Keller 701e29f2e8
Merge pull request #5061 from etracer65/fc_core_size_optimization
Size Optimization: Move time-critical code from fc_core.c to fc_tasks.c
2018-01-30 15:09:27 +13:00
Bruce Luckcuck 4712b0aca1 Discussion: Move time-critical code from fc_core.c to fc_tasks.c
Change fc_core.c to be size-optimized to reduce overall firmware size. Saves 3288 bytes on OMNIBUS as an example.
2018-01-29 20:11:25 -05:00
Michael Keller dbf0883470
Merge pull request #5060 from blckmn/sdcard_check
Adding additional check on init for sdcard enabled.
2018-01-30 11:52:59 +13:00
Michael Keller 28c47ce0c9
Merge pull request #5059 from blckmn/dma_irq_fix
BUGFIX: DMA IRQ handler index incorrect
2018-01-30 11:40:55 +13:00
blckmn ed73e5fdaa Adding additional check on init for sdcard enabled. 2018-01-30 04:20:58 +11:00
blckmn 7245c79dce Fixes error in DMA irq handling 2018-01-30 04:11:57 +11:00
Michael Keller e3cbff148e
Merge pull request #5055 from mikeller/fix_rf_rate_calculation
Fixed RaceFlight rates calculation.
2018-01-30 00:58:45 +13:00
Michael Keller 52f29f6e81 Fixed RaceFlight rates calculation. 2018-01-30 00:04:28 +13:00
Michael Keller e5e6fcb60a
Merge pull request #5045 from blckmn/sdcard_config
Configurable SDCARD and DMA cleanup
2018-01-29 14:11:55 +13:00
blckmn 39bb6ffe04 Configurable SDCARD, and clean up of DMA. 2018-01-29 11:50:14 +11:00
Michael Keller b73ffbb592
Merge pull request #5052 from jflyper/bfdev-bluejayf4-softserial-on-debug
BLUEJAYF4 Assign DEBUG pad (PB3) as default half-duplex software serial
2018-01-29 10:02:09 +13:00
jflyper bc070558b1 DEBUG pad (PB3) is the only pin capable of half-duplex soft serial 2018-01-28 22:29:28 +09:00
Michael Keller 870c238752
Merge pull request #5050 from wind0r/cleanup_cli_lookuptable
remove unused entries from cli lookup table
2018-01-28 11:20:28 +13:00
Steffen Windoffer 0506d755a3 remove unused entries from cli lookup table 2018-01-27 22:58:27 +01:00