1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00
Commit graph

538 commits

Author SHA1 Message Date
Martin Budden
d90b42970c Acc fn/variable renames to align with iNav 2017-12-29 10:23:51 +00:00
mikeller
0b9884961d Updated handling of FrSky telemetry processing, renamed to FrSkyHub for disambiguation. 2017-12-28 11:01:35 +13:00
azol
6953e799fa add old split firmware support 2017-12-26 10:41:11 +08:00
mikeller
f6bdfd91e2 Moved beeper parameter groups to pg/. 2017-12-24 17:56:37 +13:00
mikeller
2d930b28ce Moved vcd parameter group to pg/. 2017-12-24 15:13:48 +13:00
mikeller
b489d0ba9d Renamed 'parameter_group' to 'pg'. 2017-12-19 23:36:31 +13:00
Martin Budden
ed30e9f5c7 Moved gyro_sync into drivers/accgyro directory 2017-12-17 16:01:50 +00:00
Martin Budden
a33a82725e Add fast RAM support, CCM or TCM depending on processor 2017-12-16 17:42:35 +00:00
Martin Budden
12640972a9 Preparation for using instruction cache on F7 2017-12-15 10:07:19 +00:00
Anders Hoglund
e42d74926a Fixed unittest compile warnings caused by inconsistant data types. 2017-12-11 01:21:15 +01:00
jflyper
db014752d7 Convert TRANSPONDER to USE_xxx scheme 2017-12-11 02:49:00 +09:00
Alberto García Hierro
d666151188 Don't check batteryConfig fields from the telemetry, call APIs instead
This makes the telemetry code less dependendant on the battery
implementation.

New functions introduced:
    isBatteryVoltageAvailable()
    isAmperageAvailable()
2017-12-04 17:14:17 +00:00
Martin Budden
d0a77bc917 Keep ITerm zero for 250ms after motor reversal in 3D mode 2017-12-01 21:36:32 +00:00
Martin Budden
9060ecb302 Reset ITerm on motor reversal 2017-12-01 07:06:20 +00:00
Michael Keller
a0c672ba69
Merge pull request #4672 from martinbudden/bfa_imu_acc_gyro_accumulate
Add acc and gyro accumulators to improve attitude estimation
2017-11-29 00:50:30 +13:00
Martin Budden
22c672fa7d Add acc and gyro accumulators to improve attitude estimation 2017-11-28 06:26:57 +00:00
Martin Budden
0a7d2412e1 Improved reentrancy of RX code. Made SBUS re-entrant 2017-11-26 23:23:20 +00:00
Martin Budden
8cb7abd15f Added data parameter to UART RX callback 2017-11-25 10:11:37 +00:00
Martin Budden
f527455d34 Blackbox header tidy 2017-11-23 18:24:09 +00:00
Dan Nixon
2bb561aa61 Add RTC date/time to OSD stats
Fixes #4575
2017-11-19 10:55:52 +00:00
Martin Budden
f308e7ac38
Merge pull request #4581 from martinbudden/bf_acro_rateprofiles
When in ACRO mode use trim sticks to adjust RATE profile
2017-11-19 04:44:01 +00:00
Martin Budden
cfc87d1891 Better separation between GPS and NAV 2017-11-18 08:00:31 +00:00
Martin Budden
36957d6075 When in ACRO mode use trim sticks to adjust RATE profile 2017-11-17 12:25:14 +00:00
Anders Hoglund
0e1f0e89e7 Spektrum, CMS over Telemetry. Rebased and squashed. 2017-11-14 15:57:33 +01:00
Martin Budden
5e63724f7d
Merge pull request #4560 from martinbudden/bfa_crsf_interface
Split CRSF protocol into interface directory
2017-11-13 06:59:17 +00:00
Martin Budden
8044d08fb3 Renamed fc_msp* files to msp* 2017-11-12 21:43:09 +00:00
Martin Budden
d96f9ed2b7 Split crsf protocol into interface directory 2017-11-12 20:34:18 +00:00
Martin Budden
e3ee9a5588 Created new interface directory 2017-11-12 12:20:58 +00:00
jyesmith
4e0c16855f Added OSD_REMAINING_TIME_ESTIMATE which is based on flight used mAh rate. 2017-11-12 14:20:34 +10:00
mikeller
c6b88e5d04 Cleaned up handling of RSSI, added resetting to 0 for RSSI over MSP. 2017-11-12 01:22:12 +13:00
Michael Keller
60bce27e66
Merge pull request #4516 from DanNixon/fix_3d_arm_checks
Improve 3D arming checks
2017-11-11 11:24:44 +13:00
Michael Keller
364afcbf25
Merge pull request #4521 from martinbudden/bf_cms_onglobalexit
Remove almost entirely unused CMS ononGlobalExit function
2017-11-10 10:35:13 +13:00
Michael Keller
b90f7bd88e
Merge pull request #4520 from martinbudden/bf_cms_guards
Removed CMS menu guards when not debugging
2017-11-10 10:34:43 +13:00
Michael Keller
39727ce384
Merge pull request #4455 from codecae/vtx_settings_pg_rework
Move vtxSettingsConfig to vtx_common.  Rework MSP_SET_VTX_CONFIG and CMS.
2017-11-10 08:14:36 +13:00
Martin Budden
243e8390a2 Removed CMS menu guards when not debugging 2017-11-09 19:09:17 +00:00
Martin Budden
9a9884e4af Remove almost entirely unused CMS ononGlobalExit function 2017-11-09 19:06:25 +00:00
Dan Nixon
c97fbd04b8 Fix 3D arming checks when using switched 3D mode
When FEATURE_3D is on and BOX3DONASWITCH is configured the "standard"
throttle arming condition is used.
2017-11-08 20:14:07 +00:00
Dan Nixon
0315005445 Fix 3D arming checks for BOX3DDISABLE
When FEATURE_3D is on and BOX3DDISABLE is on then the normal throttle
arming check is performed.

When FEATURE_3D is on and BOX3DDISABLE is off then the reduced 3D
throttle arming check is performed.
2017-11-08 20:14:07 +00:00
Dan Nixon
eadcf42650 Fix 3D arming checks for throttle value
When FEATURE_3D is on the arm switch does not need to be toggled when
the throttle returns to a valid value (i.e. in the 3D deadband) from
either direction.

This allows the previous "arm and slowly raise throttle" arming
behaviour for 3D flight.
2017-11-08 20:14:00 +00:00
Unknown
d9caabefa1 Removed vtx_settings_config in favor of vtx_common. Removed implicit EEPROM writes for vtx_ changes.
Updated MSP_VTX_CONFIG

Updated MSP_SET_VTX_CONFIG

Updated MSP_VTX_CONFIG (again)

Implemented VTX update schedule

Removed unneeded initialization blocks from io/vtx implementations

Prevent VTX settings from being applied in CLI. Sync Band/Chan/Freq on init

Correct issues in SA CMS

Moved vtxCommonInit and vtxCommonProcess to io/vtx
2017-11-08 10:28:09 -05:00
Michael Keller
037313f995
Merge pull request #3898 from jflyper/bfdev-configurable-adc
Configurable ADC
2017-11-07 22:39:18 +13:00
jflyper
7a57468c8c Configurable ADC 2017-11-07 17:50:45 +09:00
mikeller
b78d8ad83e Converted more 'feature' type defines to use the 'USE_<x>' convention: LED_STRIP TARGET_CONFIG BRUSHED_ESC_AUTODETECT SERIAL_RX TELEMETRY TELEMETRY_CRSF TELEMETRY_FRSKY TELEMETRY_HOTT TELEMETRY_IBUS TELEMETRY_JETIEXBUS TELEMETRY_LTM TELEMETRY_MAVLINK TELEMETRY_SMARTPORT TELEMETRY_SRXL TELEMETRY_NRF24_LTM TELEMETRY_LTM SPEKTRUM_BIND NAV BUTTONS 2017-11-07 18:49:12 +13:00
mikeller
10557b81ee Cleaned up 'undef' after move to 'USE_<x>'. 2017-11-05 10:53:37 +13:00
mikeller
a8d34dabb0 Changed defines for GYRO/ACC/MAG/BARO/GPS/SONAR/OSD/BLACKBOX/CMS to conform to the USE_ convention. 2017-11-05 10:15:24 +13:00
Dan Nixon
6621ed9818 Allow OSD warnings to be toggled 2017-10-29 10:10:29 +00:00
Miguel Angel Mulero Martinez
dadedd059f Show stats only if enabled
If no enabled stat to show, don't show the stats page in the OSD
2017-10-24 10:14:15 +02:00
Curtis Bangert
97f173dfbb Tuned CRSF rx and telemetry 2017-10-21 19:34:32 -04:00
Michael Keller
8d1a90b999 Merge pull request #4251 from allenfor2017/add-runcam-device-protocol
Add RunCam Device Protocol Support(DisplayPort, DeviceSetting Access,…
2017-10-20 13:02:16 +13:00
allenyan
4df1084d1d Add RunCam Device Protocol Support(DisplayPort, DeviceSetting Access, 5 key osd cable simulation) 2017-10-19 16:19:27 +08:00