1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 05:45:31 +03:00
Commit graph

10272 commits

Author SHA1 Message Date
mikeller
817bb2ed86 Rename 'isAirmodeActive()' to 'airmodeIsEnabled()'. 2018-10-23 01:09:17 +13:00
mikeller
6206f034a8 Improved handling of airmode detection. 2018-10-23 01:05:50 +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
loopur
7ec3be6c06 Update I/O and pwm define for target HAKRCF722 in production. 2018-10-22 10:12:43 +08:00
jflyper
849024ce59 Protect ESC telemetry features in osd.c by USE_ESC_SENSOR 2018-10-22 09:15:45 +09: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
jflyper
b9fae3a02a Use USE_FLASH instead of USE_FLASHFS to protect flash pg 2018-10-22 02:43:46 +09:00
MJ666
85c9e1f9d7 FortiniF4 Camera Control and LED pin fix 2018-10-21 16:48:04 +02: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
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
mikeller
a4b2f655d4 Fix from review. 2018-10-18 19:09:01 +13:00
jflyper
47fa3d933a Assume DMA1_Stream4 Channel 0 for SPI2_TX 2018-10-18 09:23:59 +09:00
mikeller
788119a093 Changed visual beeper to respect beeper settings. 2018-10-18 02:10:47 +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
c676ce2f52 Fix initial stick arming when gyro_cal_on_first_arm is used
Previously the initial arming attempt would initiate the gyro calibration but then fail because gyro calibration was underway. The user is confused as they're holding the arming sticks but nothing is happening. This always forced the user to release the arming stick command and then perform a second arming stick command to actually arm.

After the fix the initial arming will proceed as long as the pilot holds the arming stick command through the duration of the gyro calibration (1.25 seconds by default). This seems normal to the user as they're waiting for the motors to start (or at least the arming beeps) before releasing the sticks anyway.
2018-10-15 10:15:07 -04: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
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
Frederic Morin
4f152db4f5 Increase maximum fpv_mix_degrees value 2018-10-12 22:29:34 -07: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
jflyper
f00a8e6d0f Move USE_ITERM_RELAX to prevent unused warning of applyAbsoluteControl 2018-10-09 12:42:58 +09: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
jflyper
46bdcac9d7 Fix DEF_TIM_DMA_COND to include a leading comma inside usage 2018-10-09 00:56:20 +09:00
jflyper
b14e38e51a Protect reportExtendedEscSensors by USE_ESC_SENSOR to avoid unused message 2018-10-08 23:46:12 +09:00
jflyper
0981433277 Add conditionals for receiver protocols 2018-10-08 20:53:31 +09:00
Michael Keller
8283aba668
Merge pull request #6889 from jflyper/bfdev-remove-stale-resource-def
Remove stale gyro cs defs from resource
2018-10-09 00:51:12 +13:00
Michael Keller
81ab2695a9
Merge pull request #6890 from jflyper/bfdev-omnibusf4fw-add-pc13-and-pc14-as-valid-io
OMNIBUSF4FW: Allow PC13 and PC14 for Omnibus F4 V6
2018-10-09 00:49:28 +13:00