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

15317 commits

Author SHA1 Message Date
mikeller
21b9fba3bf Some fixes for what looks like merge problems introduced by #9012. 2019-11-25 19:01:27 +13:00
Michael Keller
a65a4049ad
Fixed handling of SPI parameters for Unified Targets. (#9218)
Fixed handling of SPI parameters for Unified Targets.
2019-11-25 18:47:02 +13:00
Michael Keller
e9b94deee5
Changed '_flash' targets to only write used segments. (#9217)
Changed '_flash' targets to only write used segments.
2019-11-25 18:46:34 +13:00
Michael Keller
f859d555f7
Add support for character attribute rich MSP displayport (#9212)
Add support for character attribute rich MSP displayport
2019-11-25 18:46:21 +13:00
Michael Keller
8d107fab99
update to gcc 8.3.1 (#9061)
update to gcc 8.3.1
2019-11-25 18:45:27 +13:00
jflyper
2e84b0c442 Add support for character attribute rich displayport 2019-11-25 10:43:29 +09:00
Michael Keller
97d8a7e4d2
Merge pull request #9216 from mikeller/fix_fast_code_usages
Fixed some incorrect usages of FAST_CODE.
2019-11-25 13:42:08 +13:00
mikeller
a302b5bae2 Removed ATOMIC_BARRIER check, fixed ITCM_RAM overflow. 2019-11-25 01:16:08 +13:00
Michael Keller
e1244af09a
Add temporary facility of vendor specific init string to displa… (#9215)
Add temporary facility of vendor specific init string to displayport msp
2019-11-24 22:12:51 +13:00
mikeller
6f92a1ce13 Fixed handling of SPI parameters for Unified Targets. 2019-11-24 22:10:08 +13:00
mikeller
cce94bbe31 Changed '_flash' targets to only write used segments. 2019-11-24 15:36:40 +13:00
mikeller
a6cf0e6f6c Fixed some incorrect usages of FAST_CODE. 2019-11-24 14:10:38 +13:00
Steffen Windoffer
1583cb8106 add another new warning to ignore until it is fixed 2019-11-24 13:58:07 +13:00
Steffen Windoffer
d216e18530 ignoring new warnings util they get resolved 2019-11-24 13:58:07 +13:00
Steffen Windoffer
4affef7e5a update to gcc 8.3.1 2019-11-24 13:58:07 +13:00
Michael Keller
b137bbe80c
Merge pull request #9214 from etracer65/sbus_crsf_micros_interrupt
Update SBUS and CRSF to use microsISR() in the interrupt handler
2019-11-24 13:03:02 +13:00
Michael Keller
9d9a9fe3f3
Add protocol level receiver frame rate measurement for SUMD (#9209)
Add protocol level receiver frame rate measurement for SUMD
2019-11-24 12:59:33 +13:00
Michael Keller
b568dc7d64
Add protocol level receiver frame rate measurement for IBUS (#9207)
Add protocol level receiver frame rate measurement for IBUS
2019-11-24 12:01:40 +13:00
Michael Keller
b45f3ab4c9
Add protocol level receiver frame rate measurement for Spektrum (#9208)
Add protocol level receiver frame rate measurement for Spektrum
2019-11-24 12:01:03 +13:00
jflyper
3d7151c6c0 Add temporary facility of vendor specific init string to displayport msp
Only for debugging purposes during attribute rich displayport devices.
Should be / Will be removed from a production firmware.
2019-11-23 18:11:58 +09:00
Bruce Luckcuck
6c4e6cb786 Add protocol level receiver frame rate measurement for SUMD 2019-11-22 19:11:18 -05:00
Bruce Luckcuck
cb80314311 Update SBUS and CRSF to use microsISR() in the interrupt handler 2019-11-22 18:35:05 -05:00
Bruce Luckcuck
92771b666f Add protocol level receiver frame rate measurement for IBUS 2019-11-22 18:02:48 -05:00
Bruce Luckcuck
cad5bdd9f1 Add protocol level receiver frame rate measurement for Spektrum 2019-11-22 17:55:45 -05:00
Michael Keller
05418297b2
Improve RX inter-frame timing measurement by calculating in the… (#9205)
Improve RX inter-frame timing measurement by calculating in the protocol layer
2019-11-22 07:03:33 +13:00
Michael Keller
5951a48fe6
Improved tests. (#9193)
Improved tests.
2019-11-22 00:07:11 +13:00
Michael Keller
3a5dac17ff
Merge pull request #9202 from etracer65/use_acc_compile_errors
Fix compile errors if USE_ACC is not defined
2019-11-21 20:04:45 +13:00
Michael Keller
b8dac491ba
Fix small angle check when ACC is disabled or not defined (#9201)
Fix small angle check when ACC is disabled or not defined
2019-11-21 20:04:29 +13:00
Michael Keller
13af8e99ec
Uninitialized variable in max7456DrawScreenSlow (#9198)
Uninitialized variable in max7456DrawScreenSlow
2019-11-21 19:56:41 +13:00
Michael Keller
68a250e655
Copy-paste error on line 2829 in cli.c (#9197)
Copy-paste error on line 2829 in cli.c
2019-11-21 19:54:05 +13:00
Michael Keller
f2a16157de Removed useless test. 2019-11-21 19:53:27 +13:00
mikeller
5808bfd6f3 Improved tests. 2019-11-21 19:51:53 +13:00
Michael Keller
c1b9e927a6
Glitch attenuation, 3 and 4 point averaging (#9114)
Glitch attenuation, 3 and 4 point averaging
2019-11-21 14:36:48 +13:00
ctzsnooze
3b132d1546 Fix union to struct - thanks, Mike 2019-11-21 11:45:39 +11:00
Michael Keller
859c8814b1
Stamp out use of "VTX PIT MODE" for VTX power switches - SYNERG… (#9065)
Stamp out use of "VTX PIT MODE" for VTX power switches - SYNERGYF4
2019-11-20 21:54:30 +13:00
Bruce Luckcuck
f35dd086ac Fix small angle check when ACC is disabled or not defined
Fixes related to #9185
2019-11-20 00:20:20 -05:00
ctzsnooze
328b42b673 Defaults changed to no averaging, higher limit threshold 2019-11-20 11:37:27 +11:00
ctzsnooze
3c91da0e59 Interpolated feed forward smoothing 2019-11-20 11:29:37 +11:00
Bruce Luckcuck
bb97f79406 Fix compile errors if USE_ACC is not defined 2019-11-19 18:23:01 -05:00
Bruce Luckcuck
79dd6b6bcc Move the receiver inter-frame measurements down into the protocol layer
Adds accuracy to the frame rate measurements used to configure RC smoothing. Prevents looptime delays and jitter from affecting the calculations. Significantly improves the accuracy of the measurement in cases where CPU load is high.

Implemented so that each protocol can individually provide the functionality if appropriate. If a protocol doesn't support the more granular measurement then the system will fallback to the original measurement calculated in the RX task.
2019-11-19 14:45:07 -05:00
Michael Keller
881a256980
Restructure CRSF frame processing and RC channel handling to pr… (#9190)
Restructure CRSF frame processing and RC channel handling to prevent erroneous dropped frames
2019-11-20 08:17:13 +13:00
Michael Keller
a94e78a37a
Fix small angle check reversed logic (#9188)
Fix small angle check reversed logic
2019-11-20 08:17:00 +13:00
markhermelinggt
9c6e983358
Uninitialized variable in max7456DrawScreenSlow
Found through static analysis with GrammaTech CodeSonar

Need to make sure escapeCharFound is initialized to false. It doesn't look like anything really can go wrong (yet), but the loop in 804 could be executed even if not needed.
2019-11-19 11:45:59 -05:00
markhermelinggt
8c47e3334b
Copy-paste error on line 2829 in cli.c
Found through static analysis (GrammaTech CodeSonar).

I am quite convinced that the VTX_TABLE_MAX_BANDS on line 2829 should be VTX_TABLE_MAX_CHANNELS.

Possible the same replacement should be done on Line 2834, but I am not 100%.
2019-11-19 09:46:09 -05:00
Michael Keller
5dd8fee755
Added calibration menu to CMS. (#9179)
Added calibration menu to CMS.
2019-11-19 16:45:30 +13:00
mikeller
cedcf2d7e2 Added calibration menu to CMS. 2019-11-19 13:59:52 +13:00
Michael Keller
c6e5882dd9
Improved compass calibration. (#9182)
Improved compass calibration.
2019-11-19 13:31:42 +13:00
Bruce Luckcuck
09406ad9d9 Restructure CRSF frame processing and RC channel handling
Prevents channel data packet corruption if other packets are receved before processing can complete.
2019-11-18 12:37:10 -05:00
Bruce Luckcuck
b3b3b6a7d6 Fix small angle check reversed logic 2019-11-18 10:49:50 -05:00
mikeller
a045a9c672 Improved compass calibration. 2019-11-19 01:08:44 +13:00