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

12548 commits

Author SHA1 Message Date
Bruce Luckcuck
c1f40b8ebb Fix OSD time remaining division by zero
If the current sensor wasn't configured (or the mahDrawn was still zero) then there would be a division by zero error in the remaining time OSD element calculation. Rearranged the logic to prevent.
2018-10-23 14:09:44 -04:00
Michael Keller
6adfd345db
Merge pull request #6971 from etracer65/osd_ah_div0
Fix OSD artificial horizon division by zero
2018-10-24 01:36:47 +13:00
Bruce Luckcuck
810b9dab74 Fix OSD artificial horizon division by zero
If osd_ah_max_pit was set to zero there would be a divide by zero error in the calculations for the OSD artificial horizon. Using zero for osd_ah_max_pit is a valid use-case to disable the vertical pitch component in the artificial horizon so we can't simply change the parameter range.
2018-10-23 07:26:01 -04:00
Michael Keller
7b8fefabb6
Merge pull request #6968 from loopur/target_hakrcf722
Update I/O and pwm define for target HAKRCF722 in production.
2018-10-23 22:17:44 +13:00
Michael Keller
d0076cf24e
Merge pull request #6953 from mikeller/remove_led_strip_from_targets
Removed USE_LED_STRIP from individual targets.
2018-10-23 01:39:58 +13:00
Michael Keller
d0432ae1e3
Merge pull request #6957 from wind0r/cleanup_dterm_lowpass
cleanup dterm lowpass order
2018-10-23 00:57:08 +13:00
Michael Keller
807188e652
Merge pull request #6958 from jflyper/bfdev-reinstate-f7-uart-txdma
Reinstate UART TX DMA for F7 (HAL driver)
2018-10-23 00:49:34 +13:00
Michael Keller
8e5f815582
Merge pull request #6961 from AlienWiiBF/FortiniF4
FortiniF4 Camera Control and LED pin fix
2018-10-23 00:35:59 +13:00
Michael Keller
1fcdd8c784
Merge pull request #6959 from wind0r/switch_readme_update
update switch example to fit current coding style
2018-10-23 00:30:14 +13:00
loopur
7ec3be6c06 Update I/O and pwm define for target HAKRCF722 in production. 2018-10-22 10:12:43 +08:00
Michael Keller
60db62f6b8
Merge pull request #6956 from etracer65/mixer_size_optimize
Refactor mixer motor_stop handling - reduces flash usage
2018-10-22 11:34:56 +13:00
MJ666
85c9e1f9d7 FortiniF4 Camera Control and LED pin fix 2018-10-21 16:48:04 +02:00
jflyper
70723bdcfe
Merge pull request #6955 from mikeller/fix_crazybeef3fr_flash_overflow
Fixed flash overflow on CRAZYBEEF3FR.
2018-10-21 02:56:11 +09:00
jflyper
82a4d42b0e Reinstate UART TX DMA for F7 (HAL driver) 2018-10-20 23:57:17 +09:00
Steffen Windoffer
f45ab5bb0a cleanup dterm lowpass order 2018-10-20 15:12:40 +02:00
Steffen Windoffer
956ea31c8f update switch example to fit current coding style 2018-10-20 15:04:12 +02:00
mikeller
770266ccae Fixes from review. 2018-10-21 01:34:44 +13:00
Michael Keller
610b712390 Fixed flash overflow on CRAZYBEEF3FR. 2018-10-19 10:41:25 +13:00
Bruce Luckcuck
79abfb05fb Refactor mixer motor_stop handling - reduces flash usage
Rearranges the placement of the motor_stop handling logic in relationship to the motor output calculations.

Saves 4124 bytes of flash on F3.
2018-10-18 17:32:27 -04:00
Michael Keller
9ab8370379
Merge pull request #6933 from kmitchel/dlpf2_biquad
Implement biquad on 2nd dterm lowpass filter.
2018-10-19 01:32:19 +13:00
mikeller
9b36810eae Removed USE_LED_STRIP from individual targets. 2018-10-19 00:05:01 +13:00
Michael Keller
7631e2419c
Merge pull request #6940 from jflyper/bfdev-f7uartdma-remove-txIrq
F7: Remove txIrq from uartHardware_s
2018-10-18 01:49:03 +13:00
jflyper
a4c1b76c80 Remove txIrq from uartHardware_s
It was not IRQ at all by itself, but a dmaIdentifier_e for TX side DMA, which can be obtained by dmaGetIdentifier.
2018-10-17 02:03:58 +09:00
Michael Keller
27b80d8454
Merge pull request #6925 from fredericmorin/bigger_cam_mix_angle
Increase fpv_mix_degrees maximum value
2018-10-16 23:07:22 +13:00
Michael Keller
f991a44d4d
Merge pull request #6934 from etracer65/auto_disarm_timer_reset
Fix stick arming auto-disarm timer not being reset
2018-10-16 22:41:31 +13:00
Bruce Luckcuck
f0e2cf195b Fix stick arming auto-disarm timer not being reset
Fix code path that could prevent the auto-disarm timer from being reset leading to a possible immediate disarm if airmode was switched off while in flight.
2018-10-15 09:00:13 -04:00
Michael Keller
d193783e66
Merge pull request #6912 from flywoo/master
modify the scl pin -PB8 flywoo405 target
2018-10-16 00:03:39 +13:00
Michael Keller
13eae84b8c
Merge pull request #6930 from mikeller/re_add_features_for_f3
Re-added removed features on F3 after rx / telemetry cleanup.
2018-10-15 23:39:37 +13:00
Kenneth Mitchell
641d0a2e54 Implement biquad on 2nd dterm lowpass filter. 2018-10-14 13:34:11 -04:00
mikeller
a16cd1f251 Make it work on master. 2018-10-15 00:17:16 +13:00
mikeller
2ad0da5e90 Re-added removed features on F3 after rx / telemetry cleanup. 2018-10-14 21:21:46 +13:00
flywoo
0db78786cc modify the scl pin -PB8
simplify

delete description file

delete description file

Update target.h

FLYWOO: Update target definition for SCL pin

Edit the format

modify the scl pin -PB8

simplify

rewrite

Delete !
2018-10-14 15:01:47 +13:00
Michael Keller
799704cee3
Merge pull request #6916 from jflyper/bfdev-refactor-seral_usb_vcp.c
Refactor serial_usb_vcp.c for clarity
2018-10-14 14:04:21 +13:00
Michael Keller
e78f942794
Merge pull request #6918 from mikeller/fix_telemetry_defines
Fix conditionals for telemetry protocols.
2018-10-14 14:03:12 +13:00
Frederic Morin
4f152db4f5 Increase maximum fpv_mix_degrees value 2018-10-12 22:29:34 -07:00
Michael Keller
3b479f92da
Merge pull request #6920 from supermomme/master
add some PR links in docs/Upgrading/Upgrading from 3.2 to 3.3.md
2018-10-12 08:54:03 +13:00
Momme Jürgensen
50373574ee add some PR links in Upgrading from 3.2 to 3.3 2018-10-11 15:21:29 +02:00
mikeller
402a0c2c59 Fix conditionals for telemetry protocols. 2018-10-12 00:42:43 +13:00
jflyper
b47a95d478 Refactor serial_usb_vcp.c for clarity 2018-10-11 17:04:59 +09:00
Michael Keller
1edb5411d9
Merge pull request #6891 from etracer65/arming_disabled_osd_display_improvements
Increase priority of arming disabled OSD warnings and cycle through all
2018-10-11 02:07:33 +13:00
Michael Keller
93c38d09bd
Merge pull request #6901 from jflyper/bfdev-improve-USE_SERVOS-handling
Improve handling of USE_SERVOS in mixer.c
2018-10-11 01:16:04 +13:00
Michael Keller
fb8473df6f
Merge pull request #6904 from jflyper/bfdev-better-handling-of-USE_UART-and-USE_INVERTER
Better handling of USE_UART and USE_INVERTER
2018-10-11 01:15:45 +13:00
Michael Keller
7951919fc4
Merge pull request #6905 from jflyper/bfdev-fix-rx-conditionals
Add conditionals for receiver protocols
2018-10-11 01:13:48 +13:00
Michael Keller
08f0500c1d
Merge pull request #6913 from jflyper/bfdev-fix-overlooked-USE_xxx-conversion-case-of-ADC
Fix overlooked USE_xxx case of ADC
2018-10-11 00:52:44 +13:00
Michael Keller
47903b0c75
Merge pull request #6899 from AndersHoglund/srxl_tidy
Spektrum SRXL Telemetry tidying.
2018-10-11 00:39:37 +13:00
Michael Keller
c3ffd0bdd0
Merge pull request #6907 from jflyper/bfdev-make-reportExtendedEscSensors-conditional
Protect reportExtendedEscSensors with USE_ESC_SENSOR to avoid unused warning
2018-10-11 00:01:58 +13:00
Michael Keller
05ec15d876
Merge pull request #6906 from jflyper/bfdev-fix-DEF_TIM_DMA_COND-macro
Fix DEF_TIM_DMA_COND usage to including leading comma
2018-10-10 23:53:59 +13:00
jflyper
f6aae5160c Fix overlooked USE_xxx case (ADC) 2018-10-09 23:12:43 +09:00
Andrey Mironov
a663588dd0
Merge pull request #6909 from jflyper/bfdev-fix-singed-unsigned-comparison-warning
target/system_stm32f{4,7}xxx.c: Prevent signed and unsigned comparison warning
2018-10-09 09:49:56 +03:00
jflyper
90bfc51f71 Prevent signed and unsigned comparison warning
This only comes up when building for debugging (DEBUG=GDB).
2018-10-09 04:20:13 +09:00