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

11336 commits

Author SHA1 Message Date
laz2wiringpi
653618d0f6 USE_CRSF_LINK_STATISTICS Split from pr 8042 2019-05-04 22:08:14 -04:00
Bruce Luckcuck
0b420d5a49 Revise data structures for DSHOT telemetry stats to avoid high CPU load
Having the stats data structures incorporated into the `dmaMotors[]` array structure was causing excessive CPU load on F4. The actual cause is unknown, but likely some kind of negative cache interaction. Moving the stats to a standalone array separate from `dmaMotors[]` solves the problem.
2019-05-04 17:37:50 -04:00
jflyper
20161f00f6 [USBVCP] Enable USB+VCP 2019-05-05 04:28:03 +09:00
jflyper
735d2dde9f F7 VCP fix for USE_USB_ID 2019-05-05 00:50:44 +09:00
Bruce Luckcuck
74d71fc3eb Change scheduler_optimze_rate to only affect realtime tasks
Reduces CPU load by not rate optimizing non timing-critical tasks.
2019-05-04 11:09:40 -04:00
jflyper
896b915838 Add conditional for useDshotTelemetry 2019-05-04 23:57:15 +09:00
Bruce Luckcuck
6e72d5bd5b Reset d_min to 0 if >= D gain for a given axis
Eliminates the dual-mode disabled logic for d_min for consistency. Previously d_min would logically be disabled if set to 0, or if >= the related D gain. This produces an inconsistent behavior with the Configurator in that it applies validation and will reset d_min to 0 in this case - causing an unexpected settings change just by saving on the PID Tuning tab.

This change aligns the validation in the firmware and Configurator.
2019-05-04 10:40:19 -04:00
jflyper
a6b11dc738 config_streamer for H7 2019-05-04 23:22:36 +09:00
MJ666
4b056b0851 Furious FPV PIKOF4OSD motor timer fix 2019-05-04 13:34:30 +02:00
mikeller
c1ac8c4eb4 Fixed feedback when changing timer from 'NONE' in CLI. 2019-05-04 23:00:05 +12:00
mikeller
3c7a495716 Changed failsafe warning back to '\!FS\!'. 2019-05-04 22:47:30 +12:00
mikeller
96386854eb Some cosmetic fixes to 'rc_adjustments.c'. 2019-05-04 22:22:08 +12:00
Michael Keller
de1c1d5377
Fix and refactor timerGetXXX in presence/absence of USE_TIMER_MGMT (#8148)
Fix and refactor timerGetXXX in presence/absence of USE_TIMER_MGMT
2019-05-04 22:16:19 +12:00
Michael Keller
ba95968e08
Dshot bidir inverted (#8146)
Dshot bidir inverted
2019-05-04 18:02:03 +12:00
jflyper
90141deda2 Refactor timerGetXXX functions for clarity under presence/absence of USE_TIMER_MGMT 2019-05-04 14:29:58 +09:00
Michael Keller
686c075234
Add SPI RX to STM32F7xx unified targets (#8137)
Add SPI RX to STM32F7xx unified targets
2019-05-04 15:36:12 +12:00
Michael Keller
ad2b350920
Fixed USE_VARIO conditional. (#8133)
Fixed USE_VARIO conditional.
2019-05-04 15:34:44 +12:00
Michael Keller
5ab38e24f2
remove extra spaces in src/main/osd/osd_elements.c (#8147)
remove extra spaces in src/main/osd/osd_elements.c
2019-05-04 14:55:47 +12:00
Michael Keller
8ef3d13de0
clean up some spaces before newlines (#8153)
clean up some spaces before newlines
2019-05-04 14:49:54 +12:00
jflyper
355fc7bd7e Protect against null timerHardware 2019-05-04 11:13:25 +09:00
mikeller
d468727d98 Fixed missing comments in 'msp.c'. 2019-05-04 14:13:14 +12:00
Michael Keller
95544151f1
Add new symbols to max7456_symbols.h (#8138)
Add new symbols to max7456_symbols.h
2019-05-04 13:54:34 +12:00
root
ad43631a8b clean up some spaces before newlines 2019-05-02 23:24:36 +00:00
laz2wiringpi
a4fcceb04b code style issues 2019-05-02 09:51:32 -04:00
Thorsten Laux
51ae8d99d2 Avoid high dshot lines with telemetry during startup 2019-05-02 15:26:00 +02:00
Thorsten Laux
093c2864ca inverted dshot for f7 2019-05-02 15:02:14 +02:00
Thorsten Laux
f1e9c9f19a invert csum in telemetry 2019-05-02 14:18:19 +02:00
Thorsten Laux
4a7be33c25 invert dshot 2019-05-02 14:18:19 +02:00
root
6885d27400 comment out unused symbols, use some symbols
Also turns out the Core Temperature widget is subjected to unit tests
2019-05-01 22:17:56 +00:00
Michael Keller
bcac7f2e0b
Report NONE for baro and mag MSP requests if not USE_ed. (#8135)
Report NONE for baro and mag MSP requests if not USE_ed.
2019-05-02 09:16:39 +12:00
Michael Keller
9898dd4378
Respect USE_MAG in GPS rescue code (#8136)
Respect USE_MAG in GPS rescue code
2019-05-02 09:15:28 +12:00
jflyper
45bab9dfba Respect USE_MAG in GPS rescue code 2019-05-01 22:08:59 +09:00
Michael Keller
adb4ca39ec
Altitde source calculation option (#8127)
Altitde source calculation option
2019-05-02 00:26:05 +12:00
root
a8a997fb59 Add new symbols to max7456_symbols.h
Fixes the crosshair
Also changed GPS LAT and LON elements to use new symbols
2019-05-01 00:12:45 +00:00
root
130266af7b Fix to make the AND Logic work on all modes
This fixes #8118
2019-04-30 22:43:17 +00:00
MJ666
0c80b1a92a Add SPI RX to STM32F7xx unified targets
Avoid crash if CC2500 is not present on unified targets
2019-04-30 20:17:56 +02:00
jflyper
e3fd11014f Report BARO_NONE and MAG_NONE for baro and mag MSP requests
Responding with zero (BARO_DEFAULT and MAG_DEFAULT) will cause
configurator to display these sensors enabled, and since write (set)
side is ignored, they can never be displayed as disabled.
2019-05-01 01:55:59 +09:00
mikeller
33a956d123 Fixed USE_VARIO conditional.Also fixed some indentation. 2019-05-01 00:41:04 +12:00
Maciej Bunia
12cd248233 add comment 2019-04-30 13:56:12 +02:00
Maciej Bunia
bd5b73d6b0 add missing haveGpsAlt and haveBaroAlt checks
simplify conditions
2019-04-30 13:07:45 +02:00
Michael Keller
465779e561
Use PT1 for source frame RSSI filtering (#8013)
Use PT1 for source frame RSSI filtering
2019-04-30 08:55:00 +12:00
Michael Keller
b9fc77db3b
When GPS Rescue is engaged after a Failsafe, pilot has to manually sw… (#7936)
When GPS Rescue is engaged after a Failsafe, pilot has to manually sw…
2019-04-30 08:24:59 +12:00
Maciej Bunia
fe4c3ac149 add POSITION_ALT_SOURCE lookup table to enum
add cli setting to choose alt source
modify alt calculation
2019-04-29 20:41:28 +02:00
Michael Keller
574af4cc9e
Handle overlooked cases of missing USE_BARO and USE_MAG conditionals (#8121)
Handle overlooked cases of missing USE_BARO and USE_MAG conditionals
2019-04-30 01:17:10 +12:00
Michael Keller
212aa197cb
Call initEscEndPoints after changing profiles. (#8108)
Call initEscEndPoints after changing profiles.
2019-04-30 01:11:56 +12:00
MJ666
cf1a0514fc
Merge pull request #8120 from AlienWiiBF/CC2500_FIX
CC2500 resoure configuration fix
2019-04-28 20:20:18 +02:00
SteveCEvans
91b6f420fc Use PT1 filter for frame based RSSI using rssi_src_frame_lpf_period when rssi_src_frame_errors = ON 2019-04-28 16:00:18 +01:00
Michael Keller
95be4b0195
Merge pull request #8102 from etracer65/dyn_lpf_gyro_to_use
Change gyro dynamic lpf throttle update to use the active gyro selection
2019-04-29 01:23:17 +12:00
jflyper
625959aa2f Enforce USE_BARO and USE_MAG 2019-04-28 21:55:10 +09:00
MJ666
1729255eca CC2500 resoure configuration fix 2019-04-28 14:17:47 +02:00