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

13541 commits

Author SHA1 Message Date
Michael Keller
610dfa30ab
Merge pull request #10181 from Linjieqiang/add_support_SucceX_D_H743 2020-09-20 16:09:33 +12:00
Michael Keller
2cc55a3c5d
Merge pull request #10178 from jflyper/bfdev-g4-hidcdc
[G4] USB_HID_CDC support
2020-09-20 16:03:16 +12:00
Michael Keller
5f33ef9c0a
Merge pull request #10163 from ctzsnooze/AntiGravity-to-also-boost-P 2020-09-20 15:41:12 +12:00
Michael Keller
b234463c7e
Merge pull request #10159 from krygacz/support-mpu925x-internal-mag-over-i2c 2020-09-20 15:23:21 +12:00
ctzsnooze
c075569563 Whitespace - thanks, Nicola!
Space invader indeed lol
2020-09-20 12:42:09 +10:00
ctzsnooze
6a143beb6f Code improbements, thanks for the feedback! 2020-09-20 12:42:09 +10:00
ctzsnooze
d1bf5d0d11 Add late P boost to antigravity 2020-09-20 12:42:09 +10:00
Bruce Luckcuck
19ece68555 Add box mode to disable stick commands
Adds a `STICK COMMAND DISABLE SW` mode used to prevent inadvertant triggering of controls, calibrations, or settings changes. Useful for USB HID mode when using the flight controller as a joystick (and auto-detect doesn't work), in "team" or "relay" racing where multiple quads might be bound to the same transmitter, or just in general if the user wants prevent stick commands.

Will also prevent stick arming when the mode is active (but not stick disarming).
2020-09-15 12:51:19 -04:00
krygacz
58ae3fdfd5 Support MPU925x internal magnetometer over I2C 2020-09-14 23:41:45 +02:00
LinJieqiang
0a9428ca4f Add target IFLIGHT_H743_AIO support. 2020-09-14 19:32:57 +08:00
jflyper
0423ad826a [H7][USB] Add transmit complete callback in USBD_CDC_fops 2020-09-14 14:11:12 +09:00
jflyper
3762b4cf6c [H7][USB] Follow signature changes
USB_LL_Transmit and USB_LL_PrepareReceive:
size was changed from uint16_t to uint32_t
2020-09-14 11:09:37 +09:00
jflyper
345d26178d [G4] USB_HID_CDC support (untested) 2020-09-13 22:57:43 +09:00
jflyper
de35df8e07
Merge pull request #10136 from jflyper/bfdev-g4-timer-def-update
[G4] TIMER timer_def.h update
2020-09-13 22:11:58 +09:00
mikeller
f728d9bb51 Moved config for IFLIGHT_H7_TWING into internal flash. 2020-09-13 18:26:36 +12:00
Michael Keller
0a1a935689
Merge pull request #10164 from ctzsnooze/ff-boost-smoothing 2020-09-13 17:42:41 +12:00
Michael Keller
2fc07b1ed1
Merge pull request #10150 from dkustec/fix-hid-descriptors
Fixed misaligned report 'usages' and added more channels to HID joystick
2020-09-13 16:31:39 +12:00
Michael Keller
4e487f6193
Merge pull request #10153 from dkustec/hid-mouse-report-desc-changes
Remap and fix HID_MOUSE_ReportDesc (as part of #10150)
2020-09-13 16:30:59 +12:00
Michael Keller
4ffe9dac9e
Merge pull request #10126 from SJ-Innovation/SJI_cleanup_linker_script 2020-09-13 16:15:46 +12:00
Michael Keller
75ad6389de
Merge pull request #10121 from githubDLG/master 2020-09-13 16:11:14 +12:00
ctzsnooze
0833aab886 maybe more efficient? 2020-09-13 12:11:09 +10:00
ctzsnooze
73663f7fae FF update including second order fitlering of boost, tidying up etc
Include default to no averaging
2020-09-12 17:08:14 +10:00
githubDLG
fc889ea6d1 minor fix
move constrain() to the start of dBm2range() according to comment.
2020-09-09 15:03:50 +08:00
Davor Kustec
d62273f43d Fixed misaligned report 'usages', added few chnls
Fixed bracket

Removed extra semicolon

Fixed misaligned report 'usages', added few chnls

Reverted lib changes
2020-08-31 21:27:12 +02:00
Davor Kustec
3c6a37007d Fixes from review + new PR 2020-08-31 16:40:38 +02:00
mikeller
7836bc220c Fixed motorOutputLimitLow in blackbox and OSD. 2020-08-31 22:00:23 +12:00
Michael Keller
2bec8fa33d
Merge pull request #10146 from haslinghuis/fix_#10122
Fix debug names not unique with only 12 chars
2020-08-29 16:12:46 +12:00
Michael Keller
2493d2ef2c
Merge pull request #10129 from jflyper/bfdev-dps310-fix-default
Fix default baro handling and address for DPS310
2020-08-29 16:09:42 +12:00
Michael Keller
c05cbd3792
Merge pull request #10095 from dkustec/disable_stick_commands_when_HID_is_in_use 2020-08-29 16:07:20 +12:00
haslinghuis
b5e3164d4a Fix debug names not unique with only 12 chars 2020-08-27 01:19:22 +02:00
Michael Keller
8e361c574b
Merge pull request #10138 from jflyper/bfdev-g4-camera-control
[G4] Camera control support
2020-08-27 09:11:28 +12:00
Michael Keller
a7b82a109d
Merge pull request #10137 from jflyper/bfdev-g4-update-i2c-pindef
[G4] I2C Add I2C pins overloaded with SWD pins
2020-08-27 09:10:37 +12:00
githubDLG
0827f5a206 update
constrain rssi before dBm2range().
2020-08-26 13:28:18 +08:00
jflyper
81846f1486 [G4] Camera control support 2020-08-25 02:25:56 +09:00
jflyper
be3b321d7a [G4] Add I2C pins overloaded with SWD pins 2020-08-25 02:21:54 +09:00
jflyper
3b53590420 [G4] TIMER timer_def.h update 2020-08-25 02:19:16 +09:00
dkustec
60cc80825a Disable stick commands when HID is active and USB is connected
Moved to shared code and cms.c refactoring

Added missing line endings and comments

Passing tests - defines added

Added missing definition

Added check for USE_USB_CDC_HID in cmsUpdate

Code refactoring and condition change

Remove unnecessary include

Disable stick commands when HID is active and USB is connected

cdcDeviceIsMayBeActive refactored

Disable stick commands when HID is active and USB is connected
2020-08-24 15:38:33 +02:00
mikeller
d79dcbb388 Fixed broken tests after #10080. 2020-08-25 01:17:16 +12:00
Michael Keller
b1a3699753
Merge pull request #10128 from SJ-Innovation/SJI_rename_FAST_RAM_macro
Rename macros used in FAST_RAM/DATA
2020-08-25 00:46:12 +12:00
Michael Keller
87adab2fac
Merge pull request #10080 from haslinghuis/british_osd_units 2020-08-25 00:27:59 +12:00
haslinghuis
9ae3adaa51 Measurement units for OSD elements and FRSKY hub telemetry. 2020-08-23 16:23:57 +02:00
Sam Lane
bf3fb24aa1 Remove missed duplicate LMA 2020-08-23 09:04:18 +01:00
jflyper
eb12af4cac Fix default baro handling and address for DPS310 2020-08-23 16:56:00 +09:00
Sam Lane
4c99ad743d Rename FAST_RAM to FAST_DATA 2020-08-23 08:49:26 +01:00
Sam Lane
00d9fbbcd6 Clean up non aliased LMAs 2020-08-23 08:34:59 +01:00
Michael Keller
da9bb85843
Merge pull request #10118 from SJChannel/serialRxBytesWaiting-fix
Fix bug that causes uartTotalRxBytesWaiting() to return incorrect value when DMA is used
2020-08-23 15:57:12 +12:00
githubDLG
fa15955144 update low rssi error of spektrum
when continue low rssi are recevied in spekFrame[0] ( < -92dBm), original code will  return a full rssi because of the initial value of retval = 101. change it to 0  then fixed.
2020-08-21 12:40:21 +08:00
Michael Keller
9791bce8c8
Merge pull request #10114 from knoopx/cms-thrust-linearization
add thrust linearization to CSM
2020-08-21 13:09:50 +12:00
John Polstra
d184e581d8 Fix a bug that caused uartTotalRxBytesWaiting() to return a grossly incorrect
value when DMA was used.  For example, if one byte was waiting, the function
returned one less than the size of the buffer.

The reason the bug didn't cause serious problems is that almost all
calls to this function check only whether the returned value is zero or not.
(The only exceptions I found were in "src/main/telemetry/hott.c".  Perhaps
that code was tested on a target that did not use DMA.)  The case of zero
bytes waiting was the only case in which the correct result was returned.
2020-08-19 11:30:29 -07:00
Victor Martinez
e375ac1c21 add thrust linearization to CSM 2020-08-19 01:58:48 +02:00