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

16053 commits

Author SHA1 Message Date
MadQ
61b4a6b189 Corrected inconsistent use of CR/LF. 2020-03-29 23:22:18 -04:00
Michael Keller
5f8fc1e6f9
Merge pull request #9647 from etracer65/mixer_crashflip_div0
Fix division by zero in mixer crashflip
2020-03-28 14:02:13 +13:00
Michael Keller
9c248b1dcf
Merge pull request #9645 from etracer65/mixer_vbat_comp_div0
Fix division by 0 risk in mixer vbat sag compensation
2020-03-28 14:01:58 +13:00
Michael Keller
fee4f6f9f0
Merge pull request #9644 from etracer65/osd_battery_usage_div0
Prevent division by 0 error in battery usage OSD element
2020-03-28 14:00:32 +13:00
Michael Keller
d494d215a9
Merge pull request #9643 from hydra/bf-fix-video-configuration-for-frskyosd
Fix unable to change video system for FrSkyPixelOSD.
2020-03-28 13:51:19 +13:00
Michael Keller
f2ef33cbdd
Merge pull request #9642 from IllusionFpv/constrain-pidloop-for-bidir
Change pidloop constraint when dshot bidir is enabled
2020-03-28 13:51:01 +13:00
Bruce Luckcuck
3c1e8cb1c3 Fix division by zero in mixer crashflip 2020-03-26 19:45:07 -04:00
Bruce Luckcuck
ae76defa56 Fix div by 0 risk in mixer vbat sag compensation
Fix division by zero if `batteryConfig()->vbatwarningcellvoltage` was set to 420 (4.2v).
2020-03-26 17:30:55 -04:00
Bruce Luckcuck
13f83ee4a4 Prevent division by 0 error in battery usage OSD element
If the `bat_capacity` was set to 0 (the default) then it would result in a division by 0.
2020-03-26 14:01:18 -04:00
Dominic Clifton
4084c9b3d5 Fix unable to change video system for FrSkyPixelOSD. 2020-03-26 17:34:37 +01:00
Nicola De Pasquale
aa9e8bdbde change pidloop constraint when dshot bidir is enabled 2020-03-26 17:17:22 +01:00
Dominic Clifton
ad3f434aef Provide ability to build H750 for 1M when EXST support is not used.
Default for EXST is `yes`
2020-03-26 16:51:32 +01:00
Dominic Clifton
09ac5be8d6 Cleanup and de-duplicate H7 linker scripts 2020-03-26 16:50:21 +01:00
Dominic Clifton
bba5a1986b Update comment in the h743 ram based file to match the filename. 2020-03-26 16:37:12 +01:00
Dominic Clifton
fb6f93bc0d Remove 'flash' from the ram-based linker script filename. 2020-03-26 16:37:00 +01:00
Michael Keller
5b374c6fe0
Merge pull request #9635 from TonyBlit/sbas_none_2
SBAS_NONE part 2
2020-03-26 23:33:32 +13:00
Michael Keller
395a412b59
Merge pull request #9561 from ctzsnooze/vbat-motor-limit
Battery sag compensation by varying motor output
2020-03-26 13:58:16 +13:00
mikeller
afe704bbd9 Fixes from review. 2020-03-26 01:54:42 +13:00
Tony Cabello
d6ae1984a7 SBAS_NONE part 2 2020-03-24 14:24:16 +01:00
mikeller
b020917c4b Prevent 0 in 'vbat_display_lpf_period' to avoid division by zero. 2020-03-25 00:41:50 +13:00
Michael Keller
a4f9e42104
Merge pull request #9617 from TonyBlit/sbas_none
SBAS_NONE, gps_sbas_integrity
2020-03-24 08:43:39 +13:00
Tony Cabello
ba335635ac cleanup 2020-03-23 15:45:24 +01:00
mikeller
5eb890cb66 Improved styling of error messages in CLI. 2020-03-24 02:36:07 +13:00
Michael Keller
5f5f469c2a
Merge pull request #9628 from jflyper/bfdev-f1-maintenance-415
[F1] Maintenance to keep F1 buildable
2020-03-24 02:34:09 +13:00
Michael Keller
c2409cbd10
Merge pull request #9623 from mikeller/add_azure_build
Added Azure build for pull requests.
2020-03-24 02:32:58 +13:00
Michael Keller
70f7549847
Merge pull request #9620 from mikeller/updated_contributing_list
Updated the 'Contributing' list in README.md.
2020-03-24 02:32:10 +13:00
Michael Keller
9310323f2a
Merge pull request #9625 from jflyper/bfdev-fix-ADC5_DMA_OPT-def
[ADC] Fix ADC5_DMA_OPT def
2020-03-24 01:44:54 +13:00
Michael Keller
7f00659a88
Merge pull request #9626 from mikeller/improve_cli_error_messages
Improved CLI error messages.
2020-03-24 01:28:42 +13:00
mikeller
d2605975a1 Improved CLI error messages. 2020-03-23 15:18:51 +13:00
jflyper
6dcb373257 [F1] Maintenance to keep F1 buildable 2020-03-23 10:30:33 +09:00
Michael Keller
0bbe52ba21
Merge pull request #9615 from TonyBlit/fix_ublox_dynamic
minor fix: missing ifdef and autoconfig check
2020-03-23 13:53:06 +13:00
Michael Keller
5c5011c6b7
Merge pull request #9616 from TonyBlit/fix_alt_before_arm
Absolute altitude before arming is now correct when using GPS and Baro
2020-03-23 13:50:10 +13:00
Tony Cabello
5932b01e6b SBAS_NONE, gps_sbas_integrity 2020-03-22 18:54:03 +01:00
jflyper
433bf792f8 [ADC] Fix ADC5_DMA_OPT def 2020-03-22 20:53:43 +09:00
mikeller
e353b1a9f3 Added repository link. 2020-03-22 23:07:03 +13:00
mikeller
3aff913c83 Reformatted the release message. 2020-03-22 22:45:05 +13:00
mikeller
391c053382 Edit the release when re-publishing. 2020-03-22 22:14:25 +13:00
mikeller
3413bb0dce Improved repository link. 2020-03-22 21:55:34 +13:00
mikeller
a77a8d4227 Added Azure build for pull requests. 2020-03-22 20:24:37 +13:00
ctzsnooze
d63ba914c6 motor output scale
First draft

Change method to percentage compensation

fast sag filter with fast battery updates

Renaming, moving factors to init where possible

Names changed, display update frequency reverted to 50hz as it was

50Hz ESC Voltage sampling, battery sag lowpass for PID compensation.

increment PG_PID_PROFILE, element added to end of batteryConfig_t

all HZ_TO_INTERVALs set back to 200 to match battery task frequency of 200hz.

Add a flag to control vbat comp

Flag vbat_sag_comp_enabled allows battery compensation to be enabled or
disabled from the CLI. When disabled the battery voltage task is run at
50Hz and the battery compensation code is not run. When enabled the
voltage task is run at 200Hz and the compensation code runs. Constants
for the fast and slow rates are added to tasks.h. The default value for
vbat_sag_compensation is changed to 100 as we no longer need to use it
to disable the feature.

Fixed variable task frequency setting.

Added config validation to disable sag compensation unless ADC is used as the voltage data source.

Added conditionals, fixed naming.

Fixed build.
2020-03-22 17:15:08 +13:00
mikeller
34d58a4f5e Updated the 'Contributing' list in README.md. 2020-03-22 15:44:43 +13:00
Tony Cabello
720d994a90 minor fix: missing ifdef and autoconfig check 2020-03-21 16:27:02 +01:00
Tony Cabello
5209a83e6a Bug fix: absolute altitude before arming is now correct when using GPS and Baro 2020-03-21 16:26:30 +01:00
Michael Keller
9c3d4603b7
Merge pull request #9613 from etracer65/cc2500_register_init_array
cc2500: Use array-based register initialization
2020-03-21 14:57:41 +13:00
Michael Keller
5bbb238fd8
Merge pull request #9612 from etracer65/cms_osd_elements_update
Add RC channels, camera frame, efficiency elements to CMS OSD menu
2020-03-21 11:21:15 +13:00
Michael Keller
04dd72969f
Merge pull request #9610 from jflyper/bfdev-h7-add-missing-SPI1_MOSI-pin
[H7] Add missing SPI1_MOSI pin
2020-03-21 01:14:13 +13:00
Michael Keller
02c92a034c
Merge pull request #9608 from etracer65/fix_mixer_profile_init
Fix initialization of mixer related pidProfile settings
2020-03-21 01:09:06 +13:00
Bruce Luckcuck
6f7318cd2d Add RC channels, camera frame, efficiency elements to CMS OSD menu 2020-03-20 07:58:59 -04:00
Bruce Luckcuck
c298076bb3 cc2500: Use array-based register initialization
Store and process the register initializations in a `const` array and process iteratively instead of individual register write calls.

Saves 712 bytes for STM32F7X2 target.
2020-03-19 19:17:04 -04:00
jflyper
cdd635849d [H7] Add missing SPI1_MOSI pin 2020-03-19 14:08:39 +09:00