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

919 commits

Author SHA1 Message Date
Steve Evans
9bdf9c11e9 Split initialised/non-initialised task data 2022-01-06 01:18:17 +00:00
Steve Evans
b29ee58e0a Display stats on disarm 2021-12-28 01:48:45 +00:00
haslinghuis
4f0d4b81b1
Merge pull request #10788 from phobos-/express-lrs
ExpressLRS over SPI - sx1280 and sx1276 support
2021-12-22 23:46:03 +01:00
phobos-
e00a3abc59 ExpressLrs v2.0.0 support 2021-12-21 17:59:47 +01:00
Mathias Rasmussen
87c259a26e Fix use of floating point math functions 2021-12-21 04:18:59 +01:00
haslinghuis
b745eaf284
Merge pull request #11111 from SteveCEvans/cms_slider_ro
Make CMS fields readonly when overridden by a slider and mark with an S
2021-12-21 00:33:59 +01:00
ctzsnooze
aa4f0f7517
Merge pull request #10972 from SteveCEvans/ledstrip_dim
Add ledstrip_brightness to control LED strip brightness by percentage
2021-12-20 10:30:59 +11:00
ctzsnooze
db242cb161
Merge pull request #11033 from SteveCEvans/late_led_strip
Fix peaky task duration estimation
2021-12-20 10:27:05 +11:00
haslinghuis
282e9f6350
Merge pull request #11131 from klutvott123/remove-shared-msp-buffer
Remove shared MSP buffer
2021-12-18 00:29:13 +01:00
Steve Evans
29d221502e Use peak tracking as default for task duration estimation rather than a moving average 2021-12-17 22:09:52 +00:00
Steve Evans
ab1baccc66 Track state execution time for OSD, baro, rx and GPS tasks and inform scheduler of next state execution time 2021-12-17 15:40:01 +00:00
Hans Christian Olaussen
5f4ed614f1 Remove shared MSP buffer 2021-12-16 23:42:04 +01:00
Steve Evans
e8bf78178b No space in sizeof() as per Betaflight coding standard 2021-12-15 01:23:34 +00:00
Vladimir Kulbashevsky
222a607e3c MSP_over_CRSF changed with support of MSVv2 and Jumbo 2021-12-13 16:38:41 +02:00
Steve Evans
3de0d384ed Make CMS fields readonly when overridden by a slider and mark with an S 2021-12-12 16:34:02 +00:00
Štěpán Dalecký
40abe65bc0 Fix clang12 support on Linux/MacOS
Add support for clang 13
2021-10-04 22:11:58 +02:00
Steve Evans
fe12e356b9 Add ledstrip_brightness to control LED strip brightness by percentage 2021-09-30 23:21:21 +01:00
Štěpán Dalecký
fcd41eb28b Refactoring of rxFrameTimeUs 2021-09-28 16:06:58 +02:00
Steve Evans
d5f62be013 Trigger gyro SPI DMA reads in EXTI handler if supported and lock gyroTask loop to gyro to eliminate missed updates and jitter 2021-09-28 01:38:18 +13:00
ctzsnooze
99a7479b8c consistent gyro and dterm filter names 2021-09-27 09:12:00 +10:00
J Blackman
019ea9a2e9
Merge pull request #10907 from hydra/bf-debug-pin-fixes-1
Debug pin fixes and improvements.
2021-09-06 14:30:23 +10:00
ctzsnooze
5863015354 ifdef condition consistently applied, field names consistent, pg ID updated 2021-08-30 09:33:12 +10:00
ctzsnooze
28d9d778a6 feedforward transition moved to feedforward.c 2021-08-30 02:07:36 +10:00
Dominic Clifton
06e3eec915 Debug - Fix the NUCLEOH743 target_definition_unittest failure. 2021-08-18 17:11:55 +02:00
Hans Christian Olaussen
6dfb0de636 Fix crsf unit test 2021-07-31 22:00:00 +02:00
Steve Evans
87c8847c13 New SPI API supporting DMA
Call targetConfiguration() once before config is loaded and again afterwards in case the config needs to be changed to load from SD card etc

Drop SPI clock during binding

Remove debug

Add per device SPI DMA enable

Fix sdioPinConfigure() declaration warning

Reduce clock speed during SPI RX initialisation
2021-07-25 12:40:25 +12:00
ctzsnooze
c26428232a msp and other small fixes 2021-05-25 08:29:32 +10:00
Michael Keller
b414be320f
Merge pull request #10727 from ctzsnooze/PT2-PT3-options-for-filters 2021-05-25 01:53:53 +12:00
Steve Evans
3087d10f53 Report task rate/Hz based on execution of whole state machine, not individual states where appropriate 2021-05-20 18:27:27 +01:00
Michael Keller
9f04b506b5
Merge pull request #10687 from SteveCEvans/ledstrip_task_time 2021-05-21 02:11:36 +12:00
Steve Evans
916c3501c5 Fix LEDSTRIP unit test 2021-05-20 00:18:30 +01:00
ctzsnooze
3b62b2e5d4 add PT2 and PT3 lowpass filter options 2021-05-18 09:59:27 +10:00
Michael Keller
55288dc2e1
Merge branch 'master' into tbs/crsfv3 2021-05-18 01:14:38 +12:00
Michael Keller
bcc9ff4f02
Merge pull request #10726 from TonyBlit/osd_sats_none 2021-05-18 00:58:32 +12:00
Michael Keller
dfcd11bd69
Merge pull request #10712 from mikeller/cleanup_matrix_rotation
Cleaned up matrix rotation.
2021-05-18 00:46:04 +12:00
ctzsnooze
636d563abe major rc changes ctzsnooze 2021 2021-05-07 14:40:43 +10:00
Tony Cabello Miguel
56cb320be0 OSD Test for Sats indicator fixed 2021-05-05 15:26:41 +02:00
Tony Cabello Miguel
561b15be70 WIP: Unit test for OSD Sats element 2021-05-05 10:27:03 +02:00
Tony Cabello Miguel
c56d81457f Fixed tests, replaced hyphen with NC 2021-05-05 08:55:50 +02:00
tbs-fpv
fbd01551ff support channel resolution configuration for 0x17 2021-04-28 11:21:30 +08:00
tbs-fpv
4d8845b8da Merge remote-tracking branch 'refs/remotes/official_bf/master'
Conflicts:
	src/main/rx/crsf.c
	src/test/unit/rx_crsf_unittest.cc
2021-04-28 11:15:00 +08:00
Hans Christian Olaussen
3177cb3ec0 Update unit tests 2021-04-26 15:14:59 +02:00
mikeller
55cf26ebbc Cleaned up matrix rotation. 2021-04-26 23:10:00 +12:00
tbs-fpv
565f23074f add unit test for crsfFrameCmdCRC 2021-04-26 17:09:32 +08:00
tbs-fpv
daf6043429 fix unit test build errors 2021-04-08 13:08:43 +08:00
Steve Evans
25fcacf4c5 Split rx processing into three states to eliminate cycle time jitter
Allow tasks with state machines to control which state determines task duration

Fix unit tests
2021-03-27 23:28:41 +00:00
Bruce Luckcuck
b5bf9c2b4c Add a common function used to print formatted floats in the OSD
Updated the OSD element and stats rendering code to use this fuction to print floating point values of varying precisions.

Will make adding OSD element variants that provide different decimal precisions (like voltage, amperage, etc.) easy to implement since all that needs to change is the `decimalPlaces` passed to the function. As an example, see the `osdFormatAltitudeString()` function.

If at some later date a more capable `printf` package is inplemented, then the guts of the `osdPrintFloat()` function could just be simplified while leaving the abstraction in place.
2021-02-17 08:09:52 -05:00
Michael Keller
d2867ef9ce
Merge pull request #10540 from etracer65/osd_warnings_msp
Separate OSD warnings from OSD task and make available via MSP
2021-02-17 07:52:37 +13:00
mikeller
ae4c260d74 Fixed use of an enum type in a parameter group. 2021-02-16 01:49:10 +13:00
Michael Keller
aeb2a4f381
Merge pull request #10516 from etracer65/level_mode_expo
Self-level modes expo
2021-02-14 17:25:16 +13:00