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

10585 commits

Author SHA1 Message Date
Bruce Luckcuck
e9d498e77a Check that flash device is selected for blackbox before msc CLI reboot
Previously the logic would only validate whether one or more of the defined flash device types was ready and not examine the user selected blackbox device. Then on reboot during `mscStart()` the logic there would use the selected blackbox device type to decide which mode to operate in. If a flash device wasn't selected the msc initialization failed (like if serial port or "no logging" were selected).

This change only checks the status of the selected blackbox device to ensure that a reboot will properly start mass storage mode.
2019-01-12 17:12:08 -05:00
Thorsten Laux
7859e6d540 Add dshot command queue and limit max notch filter frequency 2019-01-12 12:25:30 +01:00
Michael Keller
9b43b30b48
Merge pull request #7369 from TonyBlit/gps_set_home_once
Parameter for updating GPS Home point once
2019-01-12 19:21:11 +13:00
Michael Keller
5aa661d3b9
Merge pull request #7340 from robertgosz/GPS_SRXL_telemetry
Spektrum SRXL GPS telemetry frames added
2019-01-12 18:06:11 +13:00
Michael Keller
804c32556d
Merge pull request #7370 from vodka-bears/frsky-rx-spi-a1-tryagain
Add constant option for A1 FrSky SPI (retry)
2019-01-12 18:04:01 +13:00
Michael Keller
f9e12337d5
Merge pull request #7368 from TonyBlit/osd_gps_no_fix
Hide OSD Altitude and Numeric Vario when no GPS fix
2019-01-12 17:56:52 +13:00
Michael Keller
af64f93a9a
Merge pull request #7367 from etracer65/cms_save_exit_popup
CMS exit/save popup menu
2019-01-12 17:51:23 +13:00
Michael Keller
219b627016
Merge pull request #7365 from etracer65/rxfail_set_for_all_channels
Allow "set" option on all channels for stage 1 failsafe (rxfail)
2019-01-12 17:47:04 +13:00
Michael Keller
92d201afa3
Merge pull request #7364 from etracer65/fix_cms_max_cell_voltage
Fix vbat max cell voltage CMS menu entry range
2019-01-12 17:46:45 +13:00
Mikolaj Stawiski
c16a8f4e96 Removed unused "dmaBufferOffset" bloat from transponder_ir_io drivers. Made "waitCounter" RAM variable available only in debug. 2019-01-12 11:51:40 +11:00
Mikolaj Stawiski
401ecb7afd ADC driver refactor: removed "continue" in loops to improve readability and fixed a typo. 2019-01-12 11:49:40 +11:00
vodka-bears
c88db1a43a Add constant option for A1 FrSky SPI (retry)
When using external XJT it annoyingly beeps when A1 drops below 3.7v (72 out of 255). I removed frsky_spi_use_external_adc and added frsky_spi_a1_source = VBAT, EXTADC, CONST. To prevent XJT from beeping ever set CONST and XJT will assume that the "reciever" is powered with 5v. I messed up previous PR #7305 branch so I decided that it's easier to open a new one.

Closes #7297
2019-01-11 10:22:30 +03:00
Tony Cabello
25a499cc9a Mag heading optionally ignored while GPS Rescue is running
If flyaway condition is met and a mag is in use, mag is disabled and countdown is reset
Minor cleanup
2019-01-11 06:26:01 +01:00
Tony Cabello
99778b5a6e Hide OSD Altitude and Numeric Vario when no GPS fix 2019-01-11 06:14:57 +01:00
Tony Cabello
75a014eb1e Parameter for updating GPS Home point once 2019-01-11 04:38:11 +01:00
Bruce Luckcuck
5b5581fa2a CMS exit/save popup menu
Adds a new exit/save menu that can be displayed at any time using the yaw-right stick command. Yaw-left still functions as "back".

Allows the user to save their settings even while nested deep in multiple menus. Previously the user was required to back up all the way to the top level menu to save or exit.
2019-01-10 18:59:50 -05:00
Bruce Luckcuck
cb268c726b Allow "set" option on all channels for stage 1 failsafe (rxfail)
Previously the "set" option was only available for aux channels and roll/pitch/yaw/throttle only allowed "auto" (R/P/Y centered, throttle min) and "hold" (hold all channels at previous values). The problem with this is that many pilots wil set the throttle channel to "hold" to avoid a complete drop (and possible motor _stop if configured). This could lead to undesirable behavior if the throttle happened to be at a high value when the signal drop occurred.

With this change the user can set the control channels to a preset value as appropriate during a stage 1 failsafe. For example it may make sense to set the throttle channel to an approximate "hover" value appropriate for that quad to avoid gaining/losing altitude during the initial stage 1 portion of a failsafe.

No changes are made to stage 2 and the existing behavior of DROP, AUTO-LAND, or GPS-RESCUE (if configured) still apply.
2019-01-10 17:05:40 -05:00
Bruce Luckcuck
fe33574120 Fix vbat max cell voltage CMS menu entry range 2019-01-10 16:35:48 -05:00
Bruce Luckcuck
330d93eb5b Add CMS failsafe setup menu
Located under the Features top-level menu. Allows configuring the failsafe procedure (like selecting GPS-RESCUE if applicable).

Bounded with `#ifdef USE_CMS_FAILSAFE_MENU` so it can be disabled for space critical targets.
2019-01-10 15:22:36 -05:00
Michael Keller
d76807fd33
Merge pull request #7355 from phobos-/dsmx-ci
Added spektrum SPI driver to OMNIBUSF4 target
2019-01-11 09:14:20 +13:00
Michael Keller
40522dc3f3
Merge pull request #7356 from phobos-/rx-spi-msp-order-fix
Fixed order of rx spi protocols in rx_spi_protocol_e
2019-01-11 09:13:28 +13:00
Robert Gosz
940ff778f0 GPS telemetry frames added 2019-01-10 19:41:05 +01:00
Michael Keller
6e42e3f68f
Merge pull request #7320 from TonyBlit/gps_rescue_arm
Allow arming without GPS
2019-01-11 03:48:34 +13:00
Michael Keller
970e8fe46b
Merge pull request #7352 from etracer65/stage1_failsafe_auto_3d_fix
Fix stage 1 failsafe throttle "auto" setting for switched 3D modes
2019-01-11 02:34:38 +13:00
phobos-
9cfc9f7857 Added spektrum SPI driver to OMNIBUSF4 target 2019-01-09 21:26:57 +01:00
Michael Keller
a1eac6f0d1
Merge pull request #7350 from joelucid/rpm_filter_fixes
change q to same scale as dynamic and correct rpm pt1 filter gain
2019-01-10 08:45:14 +13:00
phobos-
5e3024ff57 Fixed order of rx spi protocols in rx_spi_protocol_e to retain msp compatibility 2019-01-09 17:54:43 +01:00
Bruce Luckcuck
7ad3367285 Fix stage 1 failsafe throttle "auto" setting for switched 3D modes
The logic did not support the switched 3D modes and would always set the throttle to `mid_rc`. This is appropriate for normal 3D mode, but for switched 3D modes this would lead to 50% throttle (either positive or negative depending on the switched mode settings).
2019-01-09 06:34:28 -05:00
Michael Keller
ec083dfa9e
Merge pull request #7339 from phobos-/frsky-x-lbt
Implemented FRSKY X EU LBT
2019-01-09 23:02:43 +13:00
Thorsten Laux
0018e4f12c adjust defaults to new q scale 2019-01-09 09:24:02 +01:00
Thorsten Laux
9b05a99c94 change q to same scale as dynamic and correct rpm pt1 filter gain 2019-01-09 09:24:02 +01:00
mikeller
0562a831b7 Fixed flash space overflow on MIDELICF3. 2019-01-09 20:07:16 +13:00
Michael Keller
297eebca74
Merge pull request #7349 from joelucid/fix_7347
fix Burst Dshot not working on F3 #7347
2019-01-09 16:21:24 +13:00
Michael Keller
badd7b12a8 Fixed flash overflow for MIDELICF3. 2019-01-09 10:38:36 +13:00
Thorsten Laux
5e37165645 fix Burst Dshot not working on F3 #7347 2019-01-08 21:27:00 +01:00
Michael Keller
a136f0b7e0
Merge pull request #7304 from joelucid/linear_pids
Thrust Linearization
2019-01-09 09:08:06 +13:00
Michael Keller
40279f339f
Merge pull request #7306 from kmitchel/dyn_flt_osd
Add dyn filter options to OSD.
2019-01-09 01:44:35 +13:00
Michael Keller
cf196758da
Merge pull request #7345 from joelucid/frsky_failsafe
ignore failsafe packets in rx_spi_frskyx
2019-01-09 01:21:55 +13:00
Michael Keller
f43d7273af
Merge pull request #7343 from AlienWiiBF/MAG_FIX
Move QMC5883 sensor detectoin to the end to avoid wrong detection as much as posible
2019-01-09 01:07:39 +13:00
Michael Keller
4de6fbae5c
Merge pull request #7322 from klutvott123/Smartport-missing-sensors-fix
Smartport missing sensors fix
2019-01-09 00:10:09 +13:00
Michael Keller
05996be70a
Merge pull request #7271 from joelucid/rpm_filter
Telemetry based rpm notch filter
2019-01-09 00:00:00 +13:00
Michael Keller
ce1dd5225f
Merge pull request #7296 from elin-neo/master
Add new target - ElinF405
2019-01-08 22:54:30 +13:00
Thorsten Laux
cb4f540330 move pg_ids.h and sort includes 2019-01-08 10:35:19 +01:00
Thorsten Laux
9ef95bb84d address code review comments 2019-01-08 09:50:26 +01:00
Thorsten Laux
d3e09e7059 No ThrustLinearization for SIRINFPV 2019-01-08 09:20:53 +01:00
Thorsten Laux
90e1117794 change lqi sign 2019-01-08 09:18:15 +01:00
elin-neo
22007f2eb5 Remove CAMERA_CONTROL_PIN - not supported in 4.0 2019-01-08 10:17:21 +09:00
MJ666
1a9c2891e7 Fix indentation 2019-01-07 23:42:49 +01:00
Thorsten Laux
4e3b21ede1 ignore failsafe packets 2019-01-07 21:51:15 +01:00
Thorsten Laux
998845be3e prevent divide by zero 2019-01-07 15:52:57 +01:00