Commit Graph

6608 Commits

Author SHA1 Message Date
Steffen Windoffer fc0b4e3b50 remove double includes 2016-11-17 22:02:38 +01:00
Anders Hoglund b6e21fdee7 Fixed sero div error. 2016-11-17 21:44:53 +01:00
Anders Höglund 14370426af Merge pull request #1587 from Wind0r/save_size_mem_pwm_rx
removed not used static variables
2016-11-17 19:28:03 +01:00
Anders Höglund f113fc302b Merge pull request #1586 from AndersHoglund/fix_cppcheck_issues
Fix a few cppcheck warnings.
2016-11-17 19:27:39 +01:00
Anders Höglund 15ab4b55a7 Merge pull request #1585 from Wind0r/performance_redundantAssignment
fix cpplint redundant assignment warnings
2016-11-17 19:27:00 +01:00
Hydra c3943f4ec2 Allow ADC DMA stream to be specified. 2016-11-17 19:23:02 +01:00
Hydra dc7609faf7 Fix ADC debugging code. 2016-11-17 19:22:52 +01:00
Hydra 1a813353bb STM32F4 - Fix UART5 TX via DMA.
Previously the wrong DMA controller was used.  UART5 is on
DMA1/Stream7/Channel4.

Additionally the wrong defines were used for UART4 and UART5 with
regards to RX DMA.
2016-11-17 19:19:31 +01:00
Hydra e38e5f97c4 SPRACINGF3EVO - Migrate transponder to new IO. 2016-11-17 19:11:11 +01:00
Steffen Windoffer 8384c0f33b removed not used static variables 2016-11-17 19:09:12 +01:00
Hydra 1b1d7a0ce6 SPRACINGF3MINI - Migrate transponder to new IO. 2016-11-17 19:08:41 +01:00
Hydra 782d8316da Move transponder to use IO/Timer configuraton.
Initialisation now matches LED strip code.
2016-11-17 19:07:33 +01:00
Anders Hoglund 1dc90432cc Fix a few cppcheck warnings. 2016-11-17 19:05:07 +01:00
Steffen Windoffer 67c85c97d1 fix cpplint redundant assignment warnings 2016-11-17 18:37:22 +01:00
atomiclama d4a81879d8 Fixed a problem when the motor count for motorInit came from a custom
mixer table lookup which was 0.

1. took the motor count from the loading of the custom mixer table.
2. Moved the mixerconfig to before motorInit as motorInit needs the
motorCount.
3. removed pwmIsSynced checks as this was a order of init problem, and
not required as pwmCompleteMotorUpdate protects itself.
2016-11-17 13:28:52 +00:00
Martin Budden 135231f289 Merge pull request #1580 from betaflight/revolt-patch-1
Removing default beeper inversion from revolt
2016-11-17 06:50:45 +01:00
J Blackman 8b6aef6401 Removing default beeper inversion from revolt 2016-11-17 09:56:48 +11:00
J Blackman 7744c23f83 Merge pull request #1577 from AlienWiiBF/AF_Fix
Fix wrong serial RX assignments for VCP targets
2016-11-17 07:21:28 +11:00
Martin Budden 6d737256ba Merge pull request #1576 from Faduf/master
YuPi F4 Target : Revert Beeper inversion
2016-11-16 21:17:58 +01:00
Faduf 4499ee9633 Revert Beeper inversion 2016-11-16 19:50:21 +01:00
Michael Jakob 99d5946546 Fix wrong serial RX assignments for VCP targets
caused by updates on the serial driver code.
Fix typos in AlienFlight documentation.
2016-11-16 19:49:03 +01:00
Martin Budden 091c797fa8 Merge pull request #1574 from jflyper/bfdev-osd-adjustable_screen_pos
MAX7456: Adjustable screen area position offsets
2016-11-16 19:48:22 +01:00
jflyper 11128daaa6 Touch ups
- Renamed some variables
- Video system constants are now defined in vcd.h
- Removed video system default initializer from max7456.c
2016-11-17 02:48:01 +09:00
Martin Budden 2498c66cb2 Changed alignSensors to use temporary variables 2016-11-16 17:15:48 +00:00
jflyper cfa3852495 Minor comment update 2016-11-16 23:33:09 +09:00
jflyper 062e8b7b26 MAX7456: Adjustable screen area position offsets
There are displays and goggles with slightly different timing
characteristics compared the standard ones. With such devices, screen
area may be too high or too low that top or bottom most characters may
be truncated.

This PR provides a way to adjust the screen area position so that
entire screen area can be shifted up or down, or left or right.

A new vcdProfile_t (VCD = Video Character Device) is defined and
video_system was moved from osdProfile also.
2016-11-16 23:30:10 +09:00
Martin Budden 8480570510 Improved efficiency of gyro update 2016-11-16 07:31:18 +00:00
Martin Budden 819925b4ca Merge pull request #1570 from Wind0r/fix_rccontrol_motorconfig
fix motorconfig assignment
2016-11-16 00:05:53 +01:00
Steffen Windoffer f41cff8b15 fix motorconfig assignment 2016-11-15 22:25:27 +01:00
Martin Budden 2805c9596b Merge pull request #1564 from blckmn/ppm_fix
PWM fix - and rename SKIP PWM and PPM to USE_PWM and USE_PPM
2016-11-15 17:11:56 +01:00
Martin Budden 0afecc4740 Merge pull request #1565 from kc10kevin/master_furytargetfixes
FuryF3/F4 Conform Timers
2016-11-15 12:45:27 +01:00
kc10kevin b253b94e92 FuryF3/F4 Conform Timers 2016-11-15 05:11:50 -06:00
blckmn b1e04e7ee0 PWM fix - and rename SKIP PWM and PPM to USE_PWM and USE_PPM 2016-11-15 20:59:05 +11:00
Martin Budden 547230b28b Merge pull request #1562 from blckmn/rmdo_remove
Moved RMDO to SPRACINGF3 target directory
2016-11-15 07:27:18 +01:00
blckmn 47fc1c83b4 Inverting #if statement 2016-11-15 16:36:06 +11:00
blckmn 8530989c28 Moved RMDO to SPRACINGF3 target directory
As RMDO is a clone of SPRACINGF3 and shares all the same pins, will make for one less target.c to maintain. Will also introduce working DSHOT support.
2016-11-15 10:59:36 +11:00
J Blackman 97cda56322 Merge pull request #1560 from betaflight/blckmn-patch-3-1
Fixed missing motor index on F4 DSHOT init
2016-11-15 10:20:53 +11:00
J Blackman 469b0e7756 Merge pull request #1559 from betaflight/blckmn-patch-3
Fixed missing motor index on F3 DSHOT init
2016-11-15 10:20:42 +11:00
J Blackman bc7a4f4738 Merge pull request #1561 from betaflight/blckmn-patch-4
Fixed missing motor index on F7 DSHOT init
2016-11-15 10:20:26 +11:00
borisbstyle 60917d876b Merge pull request #1555 from jflyper/bfdev-cms-keyrepeat
CMS: Accelerating auto repeat
2016-11-15 00:18:10 +01:00
borisbstyle ae269db9e2 Merge pull request #1556 from CC-Jeff/master
Passthrough Settings for Castle Creations ESCs
2016-11-15 00:16:54 +01:00
borisbstyle c472c920c7 Merge pull request #1558 from betaflight/blckmn-patch-2
Fixed SPRACINGF3EVO motor 3 timer (clash with motor 1)
2016-11-15 00:14:37 +01:00
J Blackman 66ad31173b Fixed missing motor index on F7 DSHOT init 2016-11-15 10:06:46 +11:00
J Blackman 342fa970e3 Update pwm_output_stm32f4xx.c 2016-11-15 10:00:49 +11:00
J Blackman 5102df174d Fixed missing motor index on F3 DSHOT init 2016-11-15 09:58:01 +11:00
J Blackman 435a4b4218 Fixed SPRACINGF3EVO motor 3 timer (clash with motor 1) 2016-11-15 09:52:14 +11:00
Jeff 60231732ba Minor Formatting Tweaks
Converted tabs to spaces
Indented cases in switch
2016-11-14 15:00:52 -06:00
Jeff b62e91df15 Added serial passthrough settings for Castle Creations
Corrected conditional in setTxSignalEsc
2016-11-14 14:03:31 -06:00
jflyper 2fded736fa Auto repeat for left and right keys
Key repeat effect is implemented in two phases.
First phldase is to decrease rcDelayMs reciprocal to hold time.
When rcDelayMs reached a certain limit (scheduling interval),
repeat rate will not raise anymore, so we call key handler
multiple times (repeatCount).

XXX Caveat: Most constants are adjusted pragmatically.
XXX Rewrite this someday, so it uses actual hold time instead of
holdCount, which depends on the scheduling interval.
2016-11-15 01:23:16 +09:00
Martin Budden 32c87d26b5 Merge pull request #1551 from savaga/sirinfpv-spectrum-bind
Add spectrum bind support to sirinfpv target
2016-11-14 05:51:35 +01:00