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

14003 commits

Author SHA1 Message Date
haslinghuis
5b1874dd30
Merge pull request #11350 from hydra/bf-fix-elrs-link-failures
Fix ELRS link failures where link is unrecoverable.
2022-01-29 01:07:37 +01:00
haslinghuis
d43bba39ee
Merge pull request #11335 from ctzsnooze/TPA-via-throttle
Use Throttle Setpoint, not rcDATA, for TPA
2022-01-28 23:07:43 +01:00
Steve Evans
cc67b2e87c Naming changes suggested by Hydra 2022-01-28 20:31:47 +00:00
Alexey Stankevich
da0a42aeda Fix visual beeper 2022-01-28 22:35:26 +03:00
Filipp Bakanov
e19469c0ba
Fixed review 2022-01-28 21:01:11 +03:00
Steve Evans
08d76dd998 Express SCHED_TASK_DEFER_MASK as a hex value 2022-01-28 17:24:54 +00:00
Steve Evans
ae3842c89c Add unit test for priority bump of low priority task when higher priority task doesn't have time to run 2022-01-28 17:22:43 +00:00
Dominic Clifton
a91166bda0 ExpressLRS - Fix data-race in ISR handling that was observed that caused
RX loss.

Likely caused by RX task running *very* late and a new EXTI flag being
set, and then being immediately cleared without processing it.

More likely to happen on the bench than in the air due to task latency
caused by USB activity.
2022-01-28 15:24:58 +01:00
Filipp Bakanov
bbc46d9cad
Fixed missing baro GPS altitude estimation 2022-01-28 16:09:33 +03:00
Filipp Bakanov
4bda34b66b
Returned back to config 2022-01-28 16:06:30 +03:00
Filipp Bakanov
ca0f25b265
Refactor 2022-01-28 15:14:29 +03:00
Filipp Bakanov
3670b7d410
Merge branch 'master' into fixDefaultModeAltitude 2022-01-28 14:06:00 +03:00
Steve Evans
1ad09783ff Only prioritise a task if there's time to run it 2022-01-28 01:52:09 +00:00
Steve Evans
2e8d026b4e Add OSD_STATE_GROUP_ELEMENTS state to osdUpdate() and optimise DMA vs polled MAX7456 SPI access 2022-01-28 00:26:32 +00:00
Dominic Clifton
1c3e562ac5 OSD - Use async screen clear in OSD_STATE_UPDATE_CANVAS. 2022-01-27 16:31:38 +01:00
Dominic Clifton
3c5a5728b2 ExpressLRS - Fix an edge-case when a receiver can have both of
it's ISR flags set.

This has not been observed on the bench but is more of a safeguard so that
the task doesn't stall and can decide what to do.
2022-01-27 11:42:52 +01:00
Dominic Clifton
882e216f8a RX SPI - Fix driver using the NVIC priority assigned to the MPU. 2022-01-27 11:42:26 +01:00
Steve Evans
28e596a500 Increase number of element groups and use peak hold task estimation for OSD 2022-01-26 22:24:21 +00:00
haslinghuis
b6bc232a19
Merge pull request #11330 from hydra/bf-fix-rx-loss-caused-by-osd-stats
Fix RX loss caused by OSD stats display.
2022-01-26 13:57:48 +01:00
haslinghuis
c7ae164ecc
Merge pull request #11323 from haslinghuis/remove_lpuart1
Remove LPUART1 from STM32G4 and SMT32H7 if no resource configured
2022-01-26 00:00:41 +01:00
Štěpán Dalecký
352325708b Blacbox increase resolution on setpoint, gyro and rounding 2022-01-25 19:06:23 +01:00
ctzsnooze
2262dfc60e use Throttle Setpoint, not rcDATA(throttle), for TPA 2022-01-25 18:37:01 +11:00
Mark Haslinghuis
3009a13355 Fix UARTS and LPUART 2022-01-24 21:41:19 +01:00
Dominic Clifton
765afa35b7 OSD - Fix code-style. 2022-01-23 15:31:50 +01:00
Dominic Clifton
5215a2b896 CMS - Fix whitespace. 2022-01-23 15:31:00 +01:00
Dominic Clifton
a0ca5124a2 CMS - Fix comment typo. 2022-01-23 15:30:37 +01:00
Dominic Clifton
023a7e5b00 OSD - Always use specifically named stats refresh phases in. 2022-01-23 15:29:15 +01:00
Dominic Clifton
e0f27197ff OSD - Remove unneeded call to schedulerIgnoreTaskExecTime in stats
refresh.
2022-01-23 15:26:01 +01:00
Dominic Clifton
1f666add6c OSD - Clarify display driver requirements. 2022-01-23 15:23:10 +01:00
Dominic Clifton
2a9f0a50bb OSD - Prevent RX task starvation by drawing each stats row on a separate
iteration.
2022-01-22 18:59:11 +01:00
Dominic Clifton
2fe5947290 OSD - Prevent RX loss on stats display by using async screen clearing
and multiple phases.
2022-01-22 18:59:11 +01:00
Dominic Clifton
e2c0388a6a OSD - Add support for async screen clearing to display API.
No screen clearing is actually done asynchronously yet.
2022-01-22 18:59:11 +01:00
Mark Haslinghuis
edfb94b1b5 Remove LPUART1 for STM32H7 Unified Target 2022-01-21 02:38:48 +01:00
Steve Evans
68e9501b02 Fix layout of PG numbering 2022-01-21 00:38:30 +00:00
Steve Evans
b3903edf55 Allow RX and OSD tasks to be scheduled at the second attempt on F411 processors 2022-01-20 14:00:00 +00:00
Filipp Bakanov
749b5aa884
Merge branch 'master' into fixDefaultModeAltitude 2022-01-20 16:17:16 +03:00
Steve Evans
2af98ae7c8 Increase max scheduler_relax_rx and scheduler_relax_osd settings to 500 2022-01-20 02:35:02 +00:00
Steve Evans
62cb1fba1a Add scheduler_relax_rx and scheduler_relax_osd variables 2022-01-20 01:59:13 +00:00
Hao XU
f29f5a87dc Rebased. 2022-01-19 01:04:35 +08:00
Štěpán Dalecký
72c70a22e8
Merge pull request #11270 from haslinghuis/rename_attr
Rename attr
2022-01-18 08:19:18 +01:00
haslinghuis
185288341a
Merge pull request #11301 from DusKing1/add-NEUTRONRCF411SX1280
Add NEUTRONRCF411SX1280 target
2022-01-18 00:20:52 +01:00
haslinghuis
c8a268a411
Merge pull request #11299 from daleckystepan/vtx-start-bit
Vtx smartaudtio fix space
2022-01-18 00:20:16 +01:00
Štěpán Dalecký
8986f53c21
Merge pull request #11229 from phobos-/elrs-fixes
ExpressLRS - fixed slow initial connection
2022-01-17 22:25:18 +01:00
Steve Evans
bdff13fd24 Fix merge error of gyro register offset 2022-01-17 18:47:28 +00:00
Filipp Bakanov
dc409c29fe
Fixed wrong altitude in DEFAULT (GPS + BARO) mode 2022-01-17 17:31:06 +03:00
Mark Haslinghuis
a1a383d812 Rename attr
Keep single and plurar definition
2022-01-17 03:10:16 +01:00
Steve Evans
ee740d1381 Add support for ICM42605 and ICM42688P for unified targets except STM32F411 (for space reasons) 2022-01-16 12:25:19 +00:00
DusKing1
61e80dec92 add NeutronRCF411SX1280 target 2022-01-16 18:32:32 +08:00
Štěpán Dalecký
6af04d43a4 Vtx smartaudtio fix space 2022-01-16 09:49:09 +01:00
J Blackman
a6b9560b48
Merge pull request #11287 from daleckystepan/vtx-start-bit 2022-01-16 12:53:27 +11:00