1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00
Commit graph

6447 commits

Author SHA1 Message Date
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
Evgeny
0ab51a0e50 add spectrum bind 2016-11-14 02:22:24 +03:00
borisbstyle
071b14f9c5 Cleanup 2016-11-13 23:33:38 +01:00
borisbstyle
71ecc10e77 Merge pull request #1549 from marbalon/master
Added support for DShot on RACEBASE FC
2016-11-13 23:32:42 +01:00
borisbstyle
fbcf0463b5 Merge pull request #1550 from blckmn/dma_check
Added DMA safety check - some timers do not have DMA
2016-11-13 23:30:07 +01:00
blckmn
64e34e4917 EVO DMA target comments update (need to use motor output 5 as motor 4). 2016-11-14 09:11:14 +11:00
blckmn
92bcd91790 Added safety for timer hardware items with no DMA. 2016-11-14 08:56:42 +11:00
Marcin Baliniak
13132e40bf Added support for DShot on RACEBASE FC 2016-11-13 22:50:51 +01:00
Anders Hoglund
31e01531d7 Update Vagrant env, gcc5-2016q3. 2016-11-13 19:43:49 +01:00
Michael Keller
eddc3f0368 Merge pull request #1540 from TheAngularity/patch-1
fixed wrong warnings and stroboscope effect
2016-11-14 01:51:05 +13:00
TheAngularity
23294c1621 Update battery.c
removed typo
2016-11-13 13:46:23 +01:00
TheAngularity
5cdc7f787f Update battery.c
changing back first edits
2016-11-13 13:44:29 +01:00