Commit Graph

6418 Commits

Author SHA1 Message Date
Bas Delfos bc1109c546 Use motorCount from mixer.c instead of determine motor count again 2016-11-17 22:04:45 +01:00
Bas Delfos 0df4c63132 Fixed cell calculation when ESC telemetry is enabled 2016-11-17 22:04:44 +01:00
Bas Delfos a3da6e3288 Some improvements and fallback on vbat sensor when esc telemetry fails 2016-11-17 22:04:44 +01:00
Bas Delfos e9af6c5fed Get rid of build warning on non DSHOT targets 2016-11-17 22:04:44 +01:00
Bas Delfos a146a6bc4b Added ESC Telemetry to all targets that support DSHOT 2016-11-17 22:04:44 +01:00
Bas Delfos 7c154c98db Enabled ESC telemetry on X_RACERSPI target 2016-11-17 22:04:44 +01:00
Bas Delfos 8bef913430 Use MAX_SUPPORTED_MOTORS and some code cleanup 2016-11-17 22:04:44 +01:00
Bas Delfos 2e925de36f Fix for AFROMINI failing build in Travis CI 2016-11-17 22:04:44 +01:00
Bas Delfos 9fe84c0ff2 Fixed current updates and review comments 2016-11-17 22:04:44 +01:00
Bas Delfos 16178a0662 Implementation of KISS ESC Telemetry protocol 2016-11-17 22:04:44 +01:00
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