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

1022 commits

Author SHA1 Message Date
Steve Evans
aa833b2b2f Simplify cliWriter structure definition as use of uint8_t data[] (flexible array member) at the end of the bufWriter_t structure is breaking the F411 build 2022-07-24 16:15:51 +01:00
Steve Evans
cf3615938b Remove superfluous double ; 2022-07-24 14:49:35 +01:00
J Blackman
e65c4bcb9f
Merge branch 'master' into bump_clang_version 2022-07-11 09:54:47 +10:00
J Blackman
89a77cb80f
Merge pull request #11184 from daleckystepan/fix-cli-unittest
Fix cli unit test on Clang 13
2022-07-11 09:45:53 +10:00
Mark Haslinghuis
d9ac2ab3aa Bump clang version 2022-07-01 03:23:55 +02:00
Štěpán Dalecký
887e06ca35 Fix cli unit test on some platform 2022-06-30 03:11:53 +02:00
Štěpán Dalecký
4cf54f9ddc Support for GCC10 and some compilation tuning 2022-06-30 01:56:50 +02:00
Štěpán Dalecký
f85ebba6a4 Refactoring of IMU and ACC 2022-06-28 18:26:10 +02:00
J Blackman
671f8abbc5
Merge pull request #11585 from SteveCEvans/exti_use
Remove USE_EXTI, USE_GYRO_EXTI and USE_MPU_DATA_READY_SIGNAL defines
2022-06-28 16:06:52 +10:00
J Blackman
71fea676e3
Merge pull request #11196 from mathiasvr/pr-std-headers
Style: Use angle brackets with standard library headers
2022-06-28 16:06:31 +10:00
J Blackman
959accc30f
Merge pull request #11170 from daleckystepan/flash-save-msp
Reorder box_t to save few hundreds of bytes
2022-06-28 16:06:01 +10:00
J Blackman
9f2cd64100
Merge pull request #11579 from ctzsnooze/Fix-for-GPS-Return-XY-velocity-controller 2022-06-24 10:18:59 +10:00
J Blackman
0d9c516159
Merge pull request #11668 from daleckystepan/rx_refresh_rate_cleanup 2022-06-24 06:35:44 +10:00
Mark Haslinghuis
517fc4dbb8 Increment MSP version to 1.45 (4.4) 2022-06-20 04:14:25 +02:00
Štěpán Dalecký
8e802eba86 Remove unused rxRefreshRate 2022-06-18 00:59:42 +02:00
Steve Evans
4f9f26ef1c Remove USE_EXTI, USE_GYRO_EXTI and USE_MPU_DATA_READY_SIGNAL defines 2022-06-17 20:09:24 +01:00
Steve Evans
701b0ae55c Remove F1 and F3 support 2022-06-14 19:10:13 +01:00
ctzsnooze
f7c645bfcd update GPS code 2022-06-13 09:43:52 +10:00
Steve Evans
fdd7990a29 Maintain FNV checksums per PG to only write if config updated 2022-05-16 17:39:32 +01:00
J Blackman
31196489fa
Merge pull request #11536 from SteveCEvans/frsky_range
Frsky range check issues
2022-04-22 11:45:09 +10:00
ctzsnooze
e3e367e09e force rx_ranges unit tests to pass 2022-04-19 20:21:39 +10:00
Steve Evans
1368b221b7 Remove rxFrameReady() 2022-04-17 17:58:10 +01:00
Mark Haslinghuis
e74dbcfd45 Remove duplicate line in unittest 2022-04-13 23:25:13 +02:00
ctzsnooze
ee024aff0c refactor failsafeActivate, all recovery times the same
Simpler GPS Rescue fix
100ms interval for signalReceived failure
Faster failsafe stick response
Update and confirm unit tests work correctly
Restore invalid flight channel ability to trigger failsafe with individual timers
Set default failsafe stage 1 delay to 1.5 seconds, approximately match previous delay of 1.6s when the user selected 1.0 seconds.
Update failsafe documentation for 4.3
Arming blocked soon after Rx initialisation
Unit test fix for previous commit
Editorial changes and typo fixes
2022-04-13 11:52:56 +10:00
ctzsnooze
d8aeb89710 commit for failsafe PR #11459 2022-04-01 07:01:04 +11:00
Steve Evans
07f6bea174 Fix failsafe timings and behaviour to match Failsafe.md 2022-03-30 18:29:21 +01:00
Dominic Clifton
d0de9ac1f8 EXTI - Remove boolean argument from EXTIEnable.
It's confusing to have a method called EXTIEnable that takes an argument
that can DISABLE the line.

There are usually 3 options for this:
1. Use two methods, one for enable, one for disable.
2. Use enum constants instead of the boolean argument.
3. Rename to '*Set', e.g. EXTISet(...)

This commit applies option 1 above, as it's cleaner and the most common
use case in the codebase.
2022-03-06 11:24:16 +01:00
Steve Evans
fc8640154a Interrupt/DMA driven SX1280 interaction for ELRS 2022-02-28 19:50:36 +00:00
haslinghuis
7b4415f062
Merge pull request #11361 from bobbycisneros/OSDBattEfficiencyFix
Update for Battery Efficiency Fix Issue #11277
2022-02-14 00:22:48 +01:00
Robert Cisneros
874911c359 Update for Battery Efficiency Fix Issue #11277 2022-02-13 07:32:47 -06:00
haslinghuis
8701d9141f
Merge pull request #11340 from SteveCEvans/osd_peak_task
Increase number of element groups and use peak hold task estimation for OSD
2022-01-30 02:29:12 +01:00
haslinghuis
2c82ddb9a8
Merge pull request #11354 from SteveCEvans/sched_defer
Only prioritise a task if there's time to run it
2022-01-29 02:18:32 +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
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
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
ctzsnooze
2262dfc60e use Throttle Setpoint, not rcDATA(throttle), for TPA 2022-01-25 18:37:01 +11: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
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
Steve Evans
62cb1fba1a Add scheduler_relax_rx and scheduler_relax_osd variables 2022-01-20 01:59:13 +00:00
Štěpán Dalecký
72c70a22e8
Merge pull request #11270 from haslinghuis/rename_attr
Rename attr
2022-01-18 08:19:18 +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
Mark Haslinghuis
a1a383d812 Rename attr
Keep single and plurar definition
2022-01-17 03:10:16 +01:00
Steve Evans
db904b4a75 Add expediting of OSD task 2022-01-14 13:28:48 +00:00
Steve Evans
4e47a792d8 Add TASK_AGE_EXPEDITE_RX to ensure RX task is never starved of time 2022-01-12 23:38:50 +00:00
haslinghuis
8d52a36150
Merge pull request #11269 from SteveCEvans/rx_timing
Ignore duration of calcActiveAdjustmentRanges() and optimize RX_TASK_DECAY_SHIFT
2022-01-11 17:28:23 +01:00
Steve Evans
1526adfb44 Ignore duration of calcActiveAdjustmentRanges() and optimize RX_TASK_DECAY_SHIFT 2022-01-10 18:45:37 +00:00
phobos-
b42c907742 ExpressLRS - fixed slow initial connection 2022-01-10 10:20:44 +01:00
Štěpán Dalecký
a2debf5fbf Rename task id to task attr 2022-01-09 20:46:32 +01:00
haslinghuis
b8c58abf0e
Merge pull request #11218 from AlessandroAU/fix-msp-over-crsf
Fix MSP over CRSF for larger read and writes
2022-01-08 01:53:12 +01:00
Steve Evans
d492257f41 Fix refresh stats scheduling 2022-01-06 01:18:19 +00:00