Commit Graph

12738 Commits

Author SHA1 Message Date
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
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
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 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
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 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
Anders Hoglund 064a196c06 Spektrum SRXL Telemetry tidying. 2018-10-08 12:45:01 +02:00
jflyper 00dab4288f More strict application of USE_UART and USE_INVERTER 2018-10-08 15:06:42 +09:00
jflyper 120b67647b More strict application of USE_SERVOS in mixer.c 2018-10-08 12:43:38 +09:00
Michael Keller 66657486e1
Merge pull request #6900 from mikeller/fix_crazybeef3fr_flash_overflow
Fixed flash overflow on CRAZYBEEF3FR.
2018-10-08 10:43:44 +13:00
Michael Keller 7745664ec7 Fixed flash overflow on CRAZYBEEF3FR. 2018-10-08 09:15:46 +13:00