Commit Graph

11342 Commits

Author SHA1 Message Date
Michael Keller 2a91eaac8d
Merge pull request #5801 from jflyper/bfdev-exclude-kissfcv2f7-from-ci
Exclude KISSFCV2F7 from CI
2018-05-03 14:12:29 +12: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
jflyper 77cbeab783 Exclude KISSFCV2F7 from CI 2018-05-03 09:42:10 +09:00
Bruce Luckcuck 8abbb84a55 Fix dual gyro default logic
With the changes to add dual gyro support and the SPRACINGF7DUAL target, the defaulting logic of which gyro(s) to use was changed. The logic defaulted to using "BOTH" unless the target specifically selected a gyro.

I think this logic is backwards in that the first gyro should be selected by default unless the target specifies something different.  The previous logic would cause all of the previous dual-gyro targets to default to "BOTH" even though they have different gyro types.  This is probably not a good idea and definitely would cause an unexpected change for the users.

The SPRACINGF7DUAL target has two of the same gyro so defaulting to "BOTH" is appropriate.  So now the target specifies that both gyros should be used in this case as the default.
2018-05-02 20:06:08 -04: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
Faduf 1c7053d98d YupiF4 Motor output Patch 2018-05-02 19:41:16 +02: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
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
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
Bruce Luckcuck c10e5b8343 Fix testosd_unittest
The unit test was expecting a metric result during the imperial test.
2018-04-24 16:58:01 -04:00
Bruce Luckcuck 8c24176d96 Fix GPS speed and max speed to respect the units selection
Previously GPS speed and max speed would always display in KPH even if the user chose imperial units.  Now they will display in MPH for imperial units.
2018-04-24 16:41:45 -04: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