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

8630 commits

Author SHA1 Message Date
Michael Keller
cb19bb16d4
Merge pull request #5793 from etracer65/max7456_double_increment
Fix incorrect double increment in MAX7456 screen drawing
2018-05-03 23:32:21 +12:00
Michael Keller
48093e4428
Merge pull request #5786 from pulquero/esc-telemetry
Improved distribution of telemetry bandwidth over sensors (fixes #5785).
2018-05-03 23:28:16 +12:00
Andrey Mironov
cb9e1ef58c
Merge pull request #5768 from etracer65/esc_combined_overflow
Fix potential overflow in combined ESC sensor data
2018-05-03 11:00:28 +03:00
Michael Keller
69ba290c8f
Merge pull request #5797 from jflyper/bfdev-change-M25P16-to-FLASH
Change M25P16 to FLASH where appropriate
2018-05-03 14:02:39 +12:00
jflyper
7a03e034c9
Merge pull request #5757 from SteveCEvans/revonano_baro
Revonano Baro is on I2C bus 3
2018-05-03 10:57:17 +09:00
jflyper
4ee3210df8
Merge pull request #5789 from SteveCEvans/i2cunstick
Use i2cUnstick() from bus_i2c_hal.c
2018-05-03 10:56:14 +09:00
Michael Keller
8720447eea
Merge pull request #5799 from etracer65/midelicf3_flash_reduction
Fixed flash overflow for MIDELICF3
2018-05-03 13:34:30 +12:00
Michael Keller
d85f263028
Merge pull request #5792 from etracer65/max7456_init
Avoid 0xFF character when writing to MAX7456 in auto-increment mode
2018-05-03 13:11:21 +12:00
Mark Hale
f2f5106101 Improved distribution of telemetry bandwidth over sensors (fixes #5785).
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-05-02 22:18:46 +01:00
Bruce Luckcuck
87e6497c77 Fixed flash overflow for MIDELICF3 2018-05-02 17:10:50 -04:00
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
Bruce Luckcuck
b328d1dbbc Fix incorrect double increment in MAX7456 screen drawing
The for loop variable was being erroneously double incremented when a character was updated. This would cause fewer characters to be checked/updated during each cycle based on how many were found to be updated.
2018-05-01 12:38:45 -04:00
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
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
SteveCEvans
d009e40e38 Remove hardcoded numbers from i2cUnstick() 2018-05-01 00:18:45 +01: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
SteveCEvans
1f2ebe89f5 Merge branch 'master' into revonano_baro 2018-04-30 23:04:26 +01:00
SteveCEvans
2c4287d693 Baro is on I2CDEV_3 on Revo Nano 2018-04-30 23:03:57 +01:00
SteveCEvans
e282e4b3de Remove hard coded numbers 2018-04-30 22:39:53 +01:00
SteveCEvans
30db7b75cb Use i2cUnstick() from bus_i2c_hal.c 2018-04-30 22:25:53 +01: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
Bruce Luckcuck
f8bee2feff Fix potential overflow in combined ESC sensor data
The calculated combined ESC sensor data could potentially overflow in some extreme cases and the problem would be more likely in cases with more than 4 motors.
2018-04-25 12:02:25 -04:00
blckmn
a9f74cd6df Removed excess trailing spaces before new lines on licenses. 2018-04-25 20:58:00 +10:00
mikeller
0d50e80f2b Fixed flash overflow for RCEXPLORERF3. 2018-04-25 01:33:52 +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