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

11120 commits

Author SHA1 Message Date
jflyper
36fb439d45 Change M25P16 to FLASH where appropriate 2018-05-02 21:26:47 +09:00
Michael Keller
6d72a853dd
Merge pull request #5795 from etracer65/esc_current_warning_default
Default OSD ESC current alarm to off
2018-05-02 16:31:06 +12:00
Bruce Luckcuck
7e8bd7bb34 Default OSD ESC current alarm to off
The osd_esc_current_alarm was added but never assigned a default value. Therefore it defaulted to 0 instead of off (-1).  This resulted in OSD warnings if the ESCs weren't providing current data as the test looked for values >= the warning setting.
2018-05-01 14:06:49 -04:00
jflyper
8bb6d42928
Merge pull request #5769 from jflyper/bfdev-omninxt
New target OmniNXT F4/F7
2018-05-01 11:09:39 +09:00
jflyper
7720e57d5c
Merge pull request #5776 from jflyper/bfdev-handle-overloaded-cs-pin
FLASH: Handle overloaded SPI CS pin
2018-05-01 10:55:13 +09:00
Michael Keller
fba59c32b6
Merge pull request #5676 from conkerkh/CMS_FIX
Disable CMS when USB is connected on CDC_HID enabled targets.
2018-05-01 11:07:56 +12:00
borisbstyle
d5380a670b
Merge pull request #5782 from etracer65/video_type_enum
Add descriptive enumeration for vcd_video_system values
2018-04-30 08:18:24 +02:00
Chris
8cbd91c9ee Duplicate include 2018-04-30 01:02:02 +02:00
Chris
641e555e7b Check if HID is actually enabled in options. 2018-04-30 00:51:14 +02:00
Chris
b824f900d9 Fixup as in PR commits. 2018-04-30 00:46:21 +02:00
Bruce Luckcuck
1bfc2c2fa7 Add descriptive enumeration for vcd_video_system values
Previously the values were numeric and ranged from 0 to 2. This change adds a descriptive value list as "AUTO", "PAL" and "NTSC".
2018-04-28 11:08:57 -04:00
jflyper
ddd0dd14c8 Check if a CS pin is already owned by somebody else 2018-04-28 23:02:35 +09:00
jflyper
ac13e87c86 OmniNXT F4/F7 support 2018-04-27 09:42:21 +09: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