1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00
Commit graph

6386 commits

Author SHA1 Message Date
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
J Blackman
901d7ef90f Merge pull request #1547 from blckmn/aff4_fix
AlienFlightF4 build fix.
2016-11-13 22:07:30 +11:00
blckmn
3d375ef52c AlienFlightF4 build fix. 2016-11-13 22:06:47 +11:00
Martin Budden
1663faa0a4 Merge pull request #1546 from sambas/bf_f7_spirework
F7 SPI rework
2016-11-13 12:01:25 +01:00
Martin Budden
d7b09553dd Merge pull request #1543 from blckmn/dshot_f3_f4
Enabled DSHOT for F3 and F4 by default.
2016-11-13 10:04:11 +01:00
Martin Budden
a82820fd27 Merge pull request #1544 from blckmn/adc_mapping
sdcard dma config, adc config, bluejayf4 hardware revision
2016-11-13 10:03:35 +01:00
blckmn
9451d4b30d Enabled DSHOT for F3 and F4 by default. 2016-11-13 19:08:22 +11:00
Sami Korhonen
b3a48c1a01 F7 spi rework 2016-11-13 10:07:06 +02:00
J Blackman
ac45a4687a Merge pull request #1535 from martinbudden/bf_rx_tidy2
Cleanup and improved efficiency of RX functions
2016-11-13 19:00:43 +11:00
J Blackman
d8dca8a4e3 Merge pull request #1539 from AlienWiiBF/AlienFlightF4V2
AlienFlight F4 V2 support and some minor AlienFlight updates
2016-11-13 16:52:20 +11:00
blckmn
1565d3aab6 Fixed build errors on targets with no defined ADC pins 2016-11-13 16:16:05 +11:00
blckmn
17facbea84 sdcard dma config, adc config, bluejayf4 hardware revision
Moved ADC to configuration stored in masterConfig.
 - can remove features for vbat etc in future (perhaps param groups)
 - allows adc to be turned off completely (freeing up dma)

Added feature SDCARD
 - enables it to be turned off.
 - allows for DMA to be turned off (set sdcard_dma=OFF)

Fixed hardware revision to allow BJF4 mini to use the same target (no need for an additional target).
2016-11-13 14:25:33 +11:00