1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 06:45:16 +03:00
Commit graph

8956 commits

Author SHA1 Message Date
Bruce Luckcuck
fc67a40127 Changed subTaskRcCommand() to be FAST_CODE_NOINLINE
Previously the code in subTaskRcCommand() was part of subTaskMainSubprocesses() which is set to FAST_CODE_NOINLINE.  When it was split out into a separate function it inherited FAST_CODE from taskMainPidLoop() which made it get inlined and caused ITCM_RAM overflow.
2018-05-27 10:40:39 -04:00
Bruce Luckcuck
89a1aa7cc6 Fix yaw reset and throttle angle correction to be before rc interpolation
In #5905 the ordering of rc interpolation processing was moved out of subTaskMainSubprocesses() and into a separate subTaskRcCommand() process that ran earlier in the PID loop. Previously the logic to handle stick arming yaw reset was immediately before the rc interpolation logic and after the previous change it ran later in the process and after rc interpolation.

This fix moves the related throttle/yaw processing into the subTaskRcCommand() before rc interpolation to match the ordering that existed previously.  The fixes introduced by #5905 (throttle spikes) are still retained.
2018-05-27 08:16:13 -04:00
Michael Keller
823c761c01
Merge pull request #5986 from mikeller/fix_cli_typo
Fixed typo in CLI.
2018-05-27 23:54:00 +12:00
jflyper
560af0b6ff Add SPI bus configurability 2018-05-27 20:30:06 +09:00
mikeller
25118867fc Fixed SPRACINGF3OSD. 2018-05-27 21:47:18 +12:00
Michael Keller
0af4789d6d
Merge pull request #5983 from mikeller/add_pid_audio_check
Added check to establish that PID audio is configured.
2018-05-27 21:39:07 +12:00
Michael Keller
a6d667eb48
Merge pull request #5980 from mikeller/add_osd_core_temperature_warning
Added warning for core temperature to OSD.
2018-05-27 21:38:51 +12:00
Michael Keller
5c3599a028
Merge pull request #5962 from joelucid/pid_ff
If P and FF have same sign take larger one
2018-05-27 21:36:23 +12:00
mikeller
464da66ee1 Reset the entire config when parameter groups have changed. 2018-05-27 19:51:26 +12:00
mikeller
a8e1a2938f Cleaned up CLI output generation, added 'cliPrintErrorLinef'. 2018-05-27 18:49:02 +12:00
Thorsten Laux
03b5c3c872 add description 2018-05-27 08:04:27 +02:00
Thorsten Laux
62dcd1b2fa Also move previousPidSetpoint 2018-05-27 07:47:51 +02:00
Thorsten Laux
d337023e87 assign previousGyroRateDterm after calculating ff 2018-05-27 07:44:11 +02:00
jflyper
1a035aa0f3 Create a pg for rxSpiConfig 2018-05-27 13:13:20 +09:00
mikeller
add0170f2c Fixed flash overflow in LUXV2_RACE. 2018-05-27 15:50:32 +12:00
mikeller
5d25580c95 Removed nonfunctional RX_SERIAL default feature from OMNIBUSF4. 2018-05-27 15:39:17 +12:00
mikeller
1e5d1805b3 Fixed typo in CLI. 2018-05-27 15:35:04 +12:00
jflyper
041bfb22c6 Create a pg for rxConfig 2018-05-27 09:13:04 +09:00
mikeller
7db73942dd Added check to establish that PID audio is configured. 2018-05-27 10:42:32 +12:00
Michael Keller
60de878452
Merge pull request #5977 from DieHertz/exile-pid-audio-from-fastcode
Marked pidAudioUpdate not for inlining
2018-05-27 10:34:14 +12:00
mikeller
dbebec5c1e Fixed capitals in parameter names. 2018-05-27 01:32:13 +12:00
mikeller
88b6751c91 Added warning for core temperature to OSD. 2018-05-27 01:28:27 +12:00
Michael Keller
903ff1ebcd
Merge pull request #5979 from joelucid/frsky_cell_voltage
honor report_cell_voltage for DIY frsky modules
2018-05-27 00:08:18 +12:00
Michael Keller
7b879679c0
Merge pull request #5974 from mikeller/fix_gps_rescue_config
Renamed 'gpsRescue' to 'gpsRescueConfig' and moved it into the appropriate location.
2018-05-27 00:06:15 +12:00
Michael Keller
42726fd2ae
Merge pull request #5973 from mikeller/fix_unittest_stubbing
Fixed stubbing of 'debug.c' in unittests.
2018-05-27 00:05:59 +12:00
Michael Keller
5d7017c245
Merge pull request #5959 from mikeller/remove_unneeded_include
Removed unneeded include (that was breaking layering as well).
2018-05-26 23:54:10 +12:00
Michael Keller
ce7f112cfc
Merge pull request #5916 from jflyper/bfdev-spiPreInitCs-to-support-configurability
Convert spiPreInit for configurability
2018-05-26 23:53:25 +12:00
Thorsten Laux
0ab4cf05c5 honor report_cell_voltage for DIY frsky modules 2018-05-26 11:48:00 +02:00
Andrey Mironov
c3fbd36bde Marked pidAudioUpdate not for inlining 2018-05-26 11:18:00 +03:00
Andrey Mironov
375bfe3929 Marked crucial functions inlined into ITCM-RAM explicitly 2018-05-26 11:04:02 +03:00
mikeller
d535fd6180 Renamed 'gpsRescue' to 'gpsRescueConfig' and moved it into the appropriate location. 2018-05-26 15:28:08 +12:00
mikeller
bf0a9c5c4f Fixed stubbing of 'debug.c' in unittests. 2018-05-26 15:09:24 +12:00
Bruce Luckcuck
d889afde15 Fixed flash overflow for COLIBRI_RACE 2018-05-25 20:46:58 -04:00
jflyper
d50ad14227 Remove unnecessary include files 2018-05-25 16:55:19 +09:00
Thorsten Laux
af5fde98c1 address style requests 2018-05-25 07:12:12 +02:00
Michael Keller
69a80a3bb0
Merge pull request #5965 from loopur/mybranch
Add barometer sensor QMP6988
2018-05-25 15:54:47 +12:00
Thorsten Laux
5aad57c3a7 add smart_feedforward config setting 2018-05-24 21:55:49 +02:00
Thorsten Laux
82edaaaf8a remove newline 2018-05-24 15:31:45 +02:00
Thorsten Laux
25cc445d7e switch micro-optimizations 2018-05-24 15:30:55 +02:00
Thorsten Laux
dc452ced00 rename pid_ff 2018-05-24 15:26:08 +02:00
jflyper
f9a43099db SPI CS preinit for configurability 2018-05-24 22:00:26 +09:00
Thorsten Laux
fde2aae4f5 If P and FF have same sign take larger one 2018-05-24 14:08:52 +02:00
mikeller
2feae20c32 Replaced instances of '#include <platform.h>' with '#include "platform.h"'. 2018-05-24 23:46:19 +12:00
mikeller
8fb75adbed Removed unneeded include (that was breaking layering as well. 2018-05-24 21:27:25 +12:00
Michael Keller
71a1a9789a
Merge pull request #5945 from supiiik/master
New calculation method for Dterm setpoint weight
2018-05-24 21:16:55 +12:00
Michael Keller
28c9b37fc1
Merge pull request #5957 from jflyper/bfdev-fix-FLASH-overflowing-with-fastram_data
.fastram_data doesn't fit in FLASH section
2018-05-24 21:15:05 +12:00
Michael Keller
e605b497e8
Merge pull request #5932 from etracer65/gyro_cal_settings
Make gyro calibration period user configurable and rename moron_threshold
2018-05-24 21:13:47 +12:00
jflyper
2985e94186 This doesn't fit in some MCU (anymore?) 2018-05-24 09:23:53 +09:00
Michael Keller
ca09a8e2fc
Merge pull request #5948 from jflyper/bfdev-drop-rx_softspi
Drop software SPI RX support
2018-05-24 09:36:03 +12:00
Michael Keller
a07b4987aa
Merge pull request #5941 from DieHertz/noinline-and-fastcode-only
Apply NOINLINE conditionally on ITCM presence
2018-05-24 09:35:40 +12:00