1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00
Commit graph

11108 commits

Author SHA1 Message Date
Bruce Luckcuck
932998a33c Avoid 0xFF character when writing to MAX7456 in auto-increment mode
The 0xFF character is used as an "escape" character by the MAX7456 when using auto-increment mode. The last byte of the characters used for the logo is the 0xFF character and this was causing the version and CMS instructions to not display.

Changed the logic to avoid the 0xFF character during the auto-increment phase and added a second pass if needed to update those characters in direct addressing mode.
2018-05-01 12:07:40 -04:00
J Blackman
02efd46833
Merge pull request #5767 from blckmn/licence_update
Removed excess spaces on licences
2018-04-26 17:10:26 +10:00
blckmn
a9f74cd6df Removed excess trailing spaces before new lines on licenses. 2018-04-25 20:58:00 +10:00
Michael Keller
c0b27e6d0c
Merge pull request #5762 from mikeller/fix_rcexplorerf3_flash_overflow
Fixed flash overflow for RCEXPLORERF3.
2018-04-25 01:39:45 +12:00
mikeller
0d50e80f2b Fixed flash overflow for RCEXPLORERF3. 2018-04-25 01:33:52 +12:00
Michael Keller
96d598d602
Merge pull request #5761 from mikeller/fix_spracingf3evo_flash_overflow
Fixed flash overflow on SPRACINGF3EVO and friends.
2018-04-25 00:47:13 +12:00
mikeller
4c32bc15c4 Fixed flash overflow on SPRACINGF3EVO and friends. 2018-04-25 00:30:32 +12:00
Michael Keller
5c8f330c33
Merge pull request #5706 from ctzsnooze/yaw_spin_fix2
Yaw Spin Recovery
2018-04-25 00:23:08 +12:00
Michael Keller
59134f0984
Merge pull request #5760 from jflyper/bfdev-convert-config-c-functionmask
Use config helper function where appropriate
2018-04-25 00:21:19 +12:00
Michael Keller
7ee764b569
Merge pull request #5758 from jflyper/bfdev-handle-non-existent-passive-beeper-correctly
Passive beeper: Handle non-existent timer case correctly
2018-04-25 00:17:28 +12:00
Michael Keller
ec583cf9e9
Merge pull request #5755 from mikeller/make_frsky_spi_telemetry_configurable
Made FrSky SPI telemetry and external telemetry values configurable.
2018-04-25 00:16:37 +12:00
Michael Keller
2865f249f3
Merge pull request #5749 from jflyper/bfdev-fireworks
Omnibus F4 Fireworks support
2018-04-25 00:10:42 +12:00
Michael Keller
3ef12389da
Merge pull request #5743 from codecae/crsf_displayport
CMS Telemetry over CRSF w/ Lua Script (X9D, so far)
2018-04-25 00:09:58 +12:00
jflyper
7ecb96a82f Use config helper function where appropriate. 2018-04-24 20:13:32 +09:00
Konstantin Sharlaimov
b892de88b1
Merge pull request #5753 from s0up/gps_rescue
Use GPS course (when available) for correcting attitude.values.yaw
2018-04-24 16:51:55 +10:00
Curtis Bangert
9d4d3ad45c CMS Telemetry over CRSF w/ Lua Script (X9D, so far) 2018-04-23 22:34:30 -04:00
Michael Keller
d492c57bdc
Merge pull request #5752 from jflyper/bfdev-target-config-helper
Serial port function mask initializer as a config helper
2018-04-24 14:33:59 +12:00
Bruce Luckcuck
0a0add8c56 Yaw spin recovery optimize (#3)
* PID controller unittest

* Clean code for yaw spin recovery

* Yaw spin recovery optimizations

* Flash size optimizations, use 50% throttle when airmode is off, and override pidsum_limit_yaw

Also rebasing from betaflight/master
2018-04-24 14:02:36 +12:00
ctzsnooze
41fb37a264 Clean code for yaw spin recovery 2018-04-24 13:51:06 +12:00
s0up
feba4c329d set courseoverground to unused on simulator build 2018-04-23 17:21:32 -07:00
jflyper
e87d14fe46 White space tidy & add braces 2018-04-24 08:11:27 +09:00
jflyper
22a7788fa3 Reset beeper_frequency if valid timer is not found 2018-04-24 08:02:51 +09:00
jflyper
37cd0404e5 Prevent channel.ccr to be deferenced if timer failed to initialize 2018-04-24 07:42:46 +09:00
jflyper
cbb028402a Move target dependent defs from target.h into config.c 2018-04-24 07:25:48 +09:00
s0up
ff247c3817 fix missing blocks 2018-04-23 15:02:26 -07:00
Michael Keller
a2c6264d55
Merge pull request #5747 from mikeller/fix_quad_servos
Fixed inconsistent handling of servos for USE_QUAD_MIXER_ONLY.
2018-04-24 09:57:15 +12:00
s0up
4e3a21d2b3 imu changes to allow for GPS rescue mode & fix home error 2018-04-23 14:56:05 -07:00
Michael Keller
373e1d678e Fixes from review. 2018-04-24 08:00:44 +12:00
jflyper
f8bd2abb21 Omnibus F4 Fireworks support 2018-04-24 00:54:31 +09:00
jflyper
cd5256bc0a Workaround pattern for empty function array. 2018-04-23 23:10:26 +09:00
jflyper
0e4684e828 Serial port function mask initializer as a config helper 2018-04-23 21:44:40 +09:00
mikeller
d88bec63a8 Made FrSky SPI telemetry and external telemetry values configurable. 2018-04-24 00:14:50 +12:00
Michael Keller
528295672c Fixed inconsistent handling of servose for USE_QUAD_MIXER_ONLY. 2018-04-23 15:07:02 +12:00
borisbstyle
bede912128
Merge pull request #5734 from betaflight/pid_unittest
PID controller unittest // bugfix yaw accel state
2018-04-22 16:14:18 +02:00
borisbstyle
8fab0fee11 PID controller unittest 2018-04-22 16:10:17 +02:00
J Blackman
c1fa9a610b
Merge pull request #5742 from blckmn/licence_update
Licence update
2018-04-22 19:23:52 +10:00
blckmn
b6422db597 All applicable files now updated. 2018-04-22 12:13:33 +10:00
Bruce Luckcuck
087837ffea Change gyro overflow handling to be based on runtime detected gyro (#5730)
Previously the gyro_overflow_detect and fallback slew filter were based on target definitions to determine whether the flight controller had an affected gyro to enable protection. The problem is that some targets are available with multiple gyro options and if one of those options was an affected gyro then all flight controllers for that target would have the oveflow code enabled even if they had a non-affected gyro.  Also targets that include multiple gyros on-board and are selectable at runtime were not differentiated and forced overflow handling on even if the selected gyro was not affected.

For non-affected gyros the overflow handling code is not required and reduces recovery performance so it's not desirable to have it enabled when unnecessary.

In the case of dual-gyro targets if gyro_to_use = BOTH then if either is an affected gyro then overflow handling will be enabled.
2018-04-22 12:16:00 +12:00
blckmn
d6f2cb9b41 Manual updates 2018-04-22 10:10:57 +10:00
blckmn
ba2752d6d5 standardising other authors. 2018-04-22 09:47:32 +10:00
blckmn
2be282e2d7 Some stragglers 2018-04-22 09:42:09 +10:00
blckmn
916de26ad8 Files with bad CRLF 2018-04-22 09:31:43 +10:00
blckmn
0aaa04910f Inserting where missing. 2018-04-22 09:23:31 +10:00
blckmn
46fe22b4bd Direct license replacement 2018-04-22 09:22:46 +10:00
Andrey Mironov
83a9af8571
Set LMA to AXIM-FLASH to avoid issues with DFU loader (#5740) 2018-04-22 01:38:09 +03:00
Andrey Mironov
f18448e8dc
Added FAST_RAM_INITIALIZED (#5733)
* Added FAST_RAM_INITIALIZED for those who really want it

* Added the white crow of KISSFCV2F7

* Made initialized data LMAs robust

* Fixed indirection when initializing fast memory
2018-04-21 16:04:07 +03:00
Michael Keller
8e152f3259 Added explanation as to why fixed dT is used in PID calculation. (#5737) 2018-04-21 11:21:35 +03:00
Michael Keller
6e44173f86
Fixed missed naming changes. (#5738) 2018-04-21 18:35:59 +12:00
Andrey Mironov
ff4c2bc145 Post-cleanup of F7 optimizations (#5729)
* Moved ART Prefetch enabling from library to main code

* Fixed tabs to spaces

* Added F7 LL EX header to simplify work with DMA and TIM

* Refactored F7 DSHOT using LL EX

* Got rid of overlooked duplicate lines
2018-04-21 18:14:35 +12:00
pulquero
a51bea1ebc Fixes to ranges of esc warning thresholds. (#5726)
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-04-21 18:12:11 +12:00