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

16633 commits

Author SHA1 Message Date
Michael Keller
50c149821d
Merge pull request #10424 from etracer65/improve_osd_blink
Improve OSD blink timing logic
2020-12-27 01:05:53 +01:00
Michael Keller
58b4cb916c Added missing simplified gyro tuning defaults. 2020-12-26 14:27:06 +01:00
Michael Keller
7fc3c7cea6 Renamed 'tuning sliders' to 'simplified tuning'. 2020-12-26 14:26:56 +01:00
IvoFPV
cff19dc113 Implement tuning sliders, add to CMS, MSP 2020-12-26 14:26:50 +01:00
Michael Keller
4d9f2c330b
Merge pull request #10406 from mikeller/fix_bitbanged_dshot_commands
Fixed problem when sending blocking Dshot commands with bitbanged Dshot enabled.
2020-12-26 02:32:52 +01:00
Michael Keller
5a443f1824
Merge pull request #10419 from Linjieqiang/add_more_flash_support_aio
Add more flash chip support for IFLIGHT_H743_AIO board.
2020-12-26 02:19:07 +01:00
Michael Keller
518918899f Remove heading for 'Additional Context' from issue templates, improve clarity. 2020-12-25 21:20:20 +01:00
Bruce Luckcuck
01fb3940e7 Fix multiple div-by-zero related to battery cell count
Battery cell count will be 0 if the battery is not detected or the voltage meter is not configured. This exposed multiple div-by-zero risks.
2020-12-25 14:17:00 -05:00
Bruce Luckcuck
f7d992b2bd Improve OSD blink logic
Changes the blink logic to be OSD task loop based instead of time based.

The previous logic used a 200ms time interval for the blinking which didn't align well with the default 12hz OSD update frequency resulting in the logic periodically missing intervals resulting in an inconsistent blinking.

As the revised logic is now tied to the OSD task iterations the blinking will be consistent. However due to the timing the blink will be slightly faster - 167ms (6hz) vs. the previous 200ms (5hz) intervals. Technically the blinking was 6hz before but stuttered every 5th blink.

Since the OSD task rate can be changed from the default 60hz, the logic will fall back to the time-based implementation for non-default task rates.
2020-12-25 12:41:44 -05:00
ligenxxxx
a5cd9ea7c3 Modified UART_TX_BUFFER_SIZE for USE_MSP_DISPLAYPORT
I did a test and added a lot of osd elements (basically all osd elements I can add, excluding GPS and ESC elements), and even some have overlapped. In this case, there is no problem at all. TxBufferSize is set to 1024. It is sufficient for normal conditions.
2020-12-24 19:15:14 +08:00
ligenxxxx
076732248e Update msp_serial.c 2020-12-24 11:33:30 +08:00
ligenxxxx
00f73a6e0b only delay when define USE_MSP_DISPLAYPORT 2020-12-24 11:20:41 +08:00
LinJieqiang
d6ec351c36 Add more flash chip support for IFLIGHT_H745_AIO board. 2020-12-22 22:03:38 +08:00
Michael Keller
3f116fd103
Merge pull request #10416 from mikeller/enable_azure_pull_request_builds 2020-12-22 10:54:13 +01:00
Michael Keller
6fb0d2a2ca Changed to build all targets. 2020-12-22 10:03:11 +01:00
Michael Keller
28490f5972 Enabled pull request builds in Azure. 2020-12-22 10:03:11 +01:00
Michael Keller
e24c24cbf2
Merge pull request #10409 from mikeller/fix_nucleoh743_rambased_overflow 2020-12-22 10:02:40 +01:00
ligenxxxx
abc9f868b1 Optimized the buffer full solution 2020-12-18 11:06:47 +08:00
Michael Keller
364b9e0f88
Merge pull request #10382 from McGiverGim/auto_close_issues 2020-12-17 00:43:04 +01:00
Miguel Angel Mulero Martinez
f9780e95c1 Add action to close issues 2020-12-16 16:00:28 +01:00
Michael Keller
f39b00ea54
Merge pull request #10405 from mikeller/fix_rssi_dbm_warning_cli
Added missing CLI parameter for RSSI dBm.
2020-12-16 14:09:30 +01:00
ligenxxxx
fbfbf189c1 fixed problem msp send error when serial port buffer full 2020-12-16 11:47:12 +08:00
Michael Keller
00a75326c0 Fixed RAM overflow on NUCLEOH743_RAMBASED. 2020-12-16 01:16:59 +01:00
Michael Keller
d89a5c8713
Merge pull request #10389 from ImmersionRC/irc-ghst-driver-debug 2020-12-16 01:05:54 +01:00
Michael Keller
834ce7c5eb Cleaned up debug code in Dshot. 2020-12-16 00:37:31 +01:00
Michael Keller
d36c62d092
Merge pull request #10403 from haslinghuis/make-tests-with-clang11-linux 2020-12-15 22:19:12 +01:00
Mark Haslinghuis
d596e259a0 Make test compatible with clang 11 on linux 2020-12-15 21:02:46 +01:00
Michael Keller
f91783571a
Merge pull request #10402 from mikeller/remove_deprecated_dshot_commands
Removed deprecated Dshot commands to enable / disable bidirectional Dshot.
2020-12-15 16:54:55 +01:00
Michael Keller
0b81b26ce0 Fixed MSP command to send Dshot commands. 2020-12-15 16:12:11 +01:00
anthonycake
81150286c6 Keep reviewers happy 2020-12-15 09:02:01 +01:00
Michael Keller
d43e06d3e3
Merge pull request #10378 from SteveCEvans/h7led 2020-12-15 08:51:15 +01:00
Michael Keller
bfa5cc1cd4 Fixed problem when sending blocking Dshot commands with bitbanged Dshot enabled. 2020-12-15 02:29:39 +01:00
Steve Evans
cb908a6893 Add USE_LEDSTRIP_CACHE_MGMT option to use explicit cache management for LED strip.
Ensure DMA_RAM section is at start of RAM and the the region defining the shareable region is covered.
Enable USE_LEDSTRIP_CACHE_MGMT on NUCLEOH743 target
2020-12-14 19:35:13 +00:00
Michael Keller
97a647f36a Added missing CLI parameter for RSSI dBm. 2020-12-14 20:28:54 +01:00
Michael Keller
98b634adcd Removed deprecated Dshot commands to enable / disable bidirectional Dshot. 2020-12-12 21:35:29 +01:00
Michael Keller
57c9c12781
Merge pull request #10383 from mluessi/ml_h7_dshot_opt 2020-12-09 15:40:16 +01:00
Martin Luessi
b46971f1f0 Fix style 2020-12-09 05:43:51 -08:00
Michael Keller
34e6a83f70
Merge pull request #10370 from borisbstyle/new_mixer 2020-12-08 12:07:41 +01:00
borisbstyle
4a916af6a9 Added DYNAMIC mixer 2020-12-08 12:04:18 +01:00
borisbstyle
75da17a00e New linear mixer (credits to @tylercorleone) 2020-12-08 12:04:07 +01:00
Michael Keller
7154abc48e
Merge pull request #10348 from pgreenland/vtx_irc_tramp_logic_pitmode_cli
Fix VTX tramp protocol for all
2020-12-08 10:56:45 +01:00
Michael Keller
203398299e
Merge pull request #10388 from ImmersionRC/irc-uart-bidir-fix 2020-12-07 11:56:16 +01:00
anthonycake
481d42c3da Remove stray whitespace 2020-12-06 16:07:23 +01:00
Phil Greenland
e1eba3fdda Review updates. Remove new CLI option in anticipation of fix from Mateksys. 2020-12-06 11:32:05 +00:00
anthonycake
a543ed8887 Switch to static storage for error counters
Remove DEBUG_INCR, and switch to static counters.
2020-12-05 17:42:56 +01:00
anthonycake
8627af832c Add debug support to GHST protocol driver
Add ability for pilots to log CRC errors, unknown frames, LQ, and RSSI. 
Added macro to debug.h to simplify incrementing debug values without the need for local statics in client code.
2020-12-05 12:17:38 +01:00
anthonycake
1f0fbf6a65 Fix BIDIR UART issue #10220
Fix the issue described in Issue #10220, typos in serial drivers for F7, F3, G4, H7 platforms. 
Before this change, the serial line is incorrectly pulled down for bidirectional comms, which may cause dropped packets (silently) with any Rx protocol that uses bidirectional comms on the Tx line (GHST, SRXL-2, FPORT)
2020-12-04 18:11:17 +01:00
Martin Luessi
74df0ca92c Optimize pin reconfiguration for H7 2020-12-03 08:59:00 -08:00
Martin Luessi
82648f3252 Add GPIO and Pin functions 2020-12-03 08:58:16 -08:00
Michael Keller
c9dd69b19e
Merge pull request #10372 from limonspb/esc_dshot_reverse
Dshot commands via MSP
2020-11-29 08:26:11 -08:00