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
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
Michael Keller
01c5ca19f4
Merge pull request #5041 from adrianmiriuta/GyroDriftCompensationDoc
...
Documentation <gyro_offset_yaw> PR#4986 #5038
2018-01-27 19:03:36 +13:00
Michael Keller
15feefa48b
Merge pull request #5032 from AndersHoglund/vtx_cntrol_ts
...
Spektrum VTX control moved to VTX control task.
2018-01-27 09:27:25 +13:00
Anders Höglund
0b08a3ae76
Merge pull request #5035 from jflyper/bfdev-improve-conditional-for-spektrumBind
...
Improve conditional handling for USE_SPEKTRUM_xxx
2018-01-26 19:30:31 +01:00
jflyper
eb1820f5bf
Enable in pre, check and disable in post.
2018-01-27 01:22:00 +09:00
Anders Hoglund
ac76179942
Spektrum VTX control moved to VTX control task. Added some missing compile conditionals and a few cosmetic updates too.
2018-01-26 13:52:29 +01:00
Adrian Miriuta
4eb1ff4c1c
corrected .md syntax Documentation for <gyro_offset_yaw>
2018-01-26 10:05:38 +01:00
MJ666
64f809afb1
Merge pull request #5040 from AlienWiiBF/FortiniF4
...
Add USART5 to FortiniF4
2018-01-26 08:15:36 +01:00
MJ666
5f042ec26b
Add USART5 to FortiniF4
2018-01-26 07:37:49 +01:00
Michael Keller
3bb41b2ecf
Merge pull request #5038 from adrianmiriuta/GyroDriftCompensationDoc
...
Documentation for <gyro_offset_yaw> PR#4986
2018-01-26 19:20:55 +13:00
Adrian Miriuta
e26518cc4f
Documentation for <gyro_offset_yaw>
2018-01-26 06:46:53 +01:00
Michael Keller
ff3612c3b7
Merge pull request #5036 from fujin/bf-rates-rf-rate-incremental
...
BetaFlight rates: re-add RF_RATE_INCREMENTAL multiplier
2018-01-26 18:42:16 +13:00
AJ Christensen
025ed36cc3
BetaFlight rates: re-add RF_RATE_INCREMENTAL multiplier
...
* By my understanding, when rcRate ended up being larger than 2.0, it was
affected by this additional multiplier in calculateSetpointRate, line 101 of
the previous implementation
2018-01-26 17:16:38 +13:00
Michael Keller
eeb3280c0e
Merge pull request #5021 from jflyper/bfdev-i2c-allow-exotic-af
...
I2C (STM32F4) Allow pins with exotic AF
2018-01-26 12:37:16 +13:00
Michael Keller
06326c8b69
Merge pull request #5029 from jirif/frsky_hub
...
Frsky hub telemetry use battery api
2018-01-26 01:13:42 +13:00
Michael Keller
6d4e772d0f
Merge pull request #4986 from adrianmiriuta/GyroDriftCompensation
...
Introduced parameter gyro_offset, to compensate gyro drift
2018-01-26 01:12:19 +13:00
jflyper
9e5a811dcf
Allow pins with exotic AF
2018-01-25 21:01:16 +09:00
Adrian Miriuta
b21d681153
Introduced cli parameter <gyro_offset_yaw>
...
It allows to manually compensate gyro drift over time.
rebased squashed.
2018-01-25 12:45:38 +01:00
jirif
9d3d034a10
Frsky hub telemetry use battery api
2018-01-25 09:25:59 +01:00
Michael Keller
b47cabffef
Merge pull request #5023 from mikeller/avoid_process_rx_when_no_new_rc_data
...
Avoid RC processing when no new RC data was received.
2018-01-25 18:17:26 +13:00
Michael Keller
9fc5bacaac
Merge pull request #5022 from mikeller/fix_rates_interpolation_bug
...
Fixed rates / interpolation bug.
2018-01-25 18:11:09 +13:00
Michael Keller
1872444d3d
Merge pull request #5024 from jflyper/bfdev-fix-naze-config-c
...
NAZE Add io.h to target config.c
2018-01-25 10:13:00 +13:00
Michael Keller
1f9c828f2a
Fixed rates / interpolation bug.
2018-01-25 10:07:40 +13:00
jflyper
a5cc4369b9
Add io.h to target config.c
2018-01-24 22:31:04 +09:00
mikeller
8b636ff86a
Avoid RC processing when no new RC data was received.
2018-01-25 02:01:29 +13:00
Michael Keller
a5c9833fb6
Merge pull request #5016 from mikeller/fix_rx_update_frequency
...
Fix RX update frequency with no serial input.
2018-01-25 01:52:44 +13:00
Michael Keller
d00cbc3858
Fix RX update frequency with no serial input.
2018-01-24 10:37:36 +13:00
Michael Keller
67523493a0
Merge pull request #5012 from jflyper/bfdev-impulsercf3-timer-refactor
...
IMPULSERCF3 Refactor pin assignment
2018-01-24 00:33:39 +13:00
Michael Keller
a9068e1997
Merge pull request #4982 from mikeller/added_rx_processing_function
...
Added rx data processing function and used it for FPort processing.
2018-01-24 00:16:38 +13:00
Martin Budden
a4772d9dea
Merge pull request #4999 from martinbudden/bfa_mixer_tri
...
Add hooks for triflight
2018-01-23 10:59:29 +00:00
mikeller
bf463cf104
Added rx data processing function and used it for FPort processing.
2018-01-23 20:10:00 +13:00
Michael Keller
7b8485debd
Merge pull request #5014 from mluessi/ml_fix_f446_tim_clk
...
Fix F446 timer clocks
2018-01-23 13:16:02 +13:00
Martin Luessi
57811cbd17
Fix F446 timer clocks
2018-01-22 15:14:41 -08:00