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

467 commits

Author SHA1 Message Date
jflyper
00dab4288f More strict application of USE_UART and USE_INVERTER 2018-10-08 15:06:42 +09:00
Michael Keller
2f1643924e
Merge pull request #6656 from timman2er/add_stat_esc_max_temp_rpm
added esc max temp and rpm to OSD
2018-10-08 01:03:20 +13:00
Michael Keller
cc820d99de
Merge pull request #6865 from chibaron/add_sfhss
Add SFHSS-SPI-RX
2018-10-08 01:01:13 +13:00
jflyper
57a6060005 Prevent sdcard_getMetadata from being called when card is not inserted or not ready 2018-10-05 03:41:53 +09:00
Michael Keller
29015af2e2
Merge pull request #6872 from AlienWiiBF/GYRO_GENERIC
Update Gyro driver for generic target
2018-10-03 23:44:01 +13:00
chibaron
f04f2f7cbb Fix unit test 2018-10-03 14:29:11 +09:00
MJ666
9e36354c45 Update Gyro driver for generic target 2018-10-03 00:26:55 +02:00
Chris
bc95da4259 Fixes SD_DET for SDIO 2018-10-02 21:56:16 +02:00
chibaron
9a452f4a1e Change SFHSS bind parameter rxSfhssSpiConfig to rxFrSkySpiConfig 2018-10-03 00:32:18 +09:00
chibaron
95d3200c92 fix coding style 2018-10-02 01:51:25 +09:00
chibaron
cb5fc4fd63 Add SFHSS-SPI-RX 2018-10-01 23:27:40 +09:00
jflyper
00840ce40f Prepare SD card SPI and SDIO variants for consolidation 2018-10-01 19:44:04 +09:00
Michael Keller
a8d874a458
Merge pull request #6784 from jflyper/bfdev-fix-generic-timer-channel-number-one-origin
GENERIC Fix origins for timer channel list
2018-10-01 00:44:06 +13:00
jflyper
0ff2d864b4 Fix origins for timer channel list
Selection is zero origin
Channel number is one origin for user I/O
2018-09-25 14:28:13 +09:00
Bruce Luckcuck
0074f05573 Remove unused IMU parameters 2018-09-24 16:14:03 -04:00
Michael Keller
adddd0976c
Merge pull request #6788 from jflyper/bfdev-usb-refactor-for-generic-target
Refactor USB toward generic target
2018-09-22 04:54:21 +12:00
Michael Keller
d32887c1e9
Merge pull request #6797 from mikeller/make_cli_errors_consistent
Made CLI error messages consistent.
2018-09-20 23:17:41 +12:00
Michael Keller
2a529c8119
Merge pull request #6514 from bforbort/LIS3MDL
Add support for ST LIS3MDL MEMS Magnetometer
2018-09-20 22:54:58 +12:00
Michael Keller
b43c6ca73b
Merge pull request #6796 from etracer65/adjustment_range_optimize
Optimize in-flight adjustments to only process configured ranges
2018-09-20 20:51:21 +12:00
timman2er
ef17d7fc31 add max esc temp and rpm to osd 2018-09-20 10:15:00 +02:00
Michael Keller
811775748b Made CLI error messages consistent. 2018-09-19 10:35:13 +12:00
Bruce Luckcuck
044648ca12 Optimize in-flight adjustments to only process configured ranges
Previously the logic would process all possible ranges defined by MAX_ADJUSTMENT_RANGE_COUNT even if some (or even all) ranges were not configured.  This change first builds a list of configured ranges and only processes thos entries.

Reduces CPU load by skipping unnecessary processing and minimizes the impact of increasing the number of available ranges.
2018-09-18 10:31:58 -04:00
Michael Keller
ea6c21f1e6
Merge pull request #6447 from bforbort/vario
Enable Vario on targets that support barometers
2018-09-18 23:53:09 +12:00
Michael Keller
3a62d40372
Merge pull request #6697 from etracer65/cli_lookup_index_validation
Add CLI validation of parameters and print a corrupted value message
2018-09-18 23:39:18 +12:00
jflyper
a2f39c8844 Refactor USB toward generic target
- Move conditionals from pg/usb.c to common_defaults_post.h
- Add detectPin to usbDev_s.
- Bump PG version for usbDev_s.
- Add resource manipulation for USB_DETECT.
2018-09-18 14:51:12 +09:00
Blaine
eb5af3a161 Add support for the ST LIS3MDL 3-Axis Magnetometer per #6437 2018-09-16 19:56:13 -07:00
Michael Keller
8207dab3e5
Merge pull request #5868 from jflyper/bfdev-poc-migrate-to-dual-gyro
Configurable ACC/GYRO
2018-09-14 09:22:47 +12:00
borisbstyle
00dbaf9fa7 Cleanup code // add unittestst for iterm windup 2018-09-10 23:38:39 +02:00
jflyper
9ef9f98310 Various fixes based on mikeller's comment. 2018-09-10 17:55:55 +09:00
jflyper
fc6c24c38e Configurable acc/gyro 2018-09-10 17:55:52 +09:00
Michael Keller
aa9e421068
Merge pull request #6680 from mikeller/add_vtx_control_disable_mode
Added 'VTX CONTROL DISABLE' mode.
2018-09-08 15:37:11 +12:00
Bruce Luckcuck
a76d22bf60 Add CLI validation of parameters and print a corrupted value message
Validates the index for lookup values to prevent referencing random memory.  Also validates the range of numeric parameters.

diff output will clearly show any corrupted parameters.
2018-09-05 07:36:42 -04:00
Michael Keller
1217893676
Merge pull request #6696 from etracer65/msp_usb_hid_fix
Fix USB HID parameter support in MSP_SET_RX_CONFIG msp message
2018-09-05 09:54:37 +12:00
Bruce Luckcuck
a39f9480d9 Fix USB HID parameter support in MSP_SET_RX_CONFIG msp message
Workaround to make the firmware tolerant of missing Configurator support in versions 10.4.1 or less. Will still work properly when Configurator support is added.
2018-09-04 16:44:44 -04:00
Michael Keller
ad16f2db0f
Merge pull request #6402 from ianrmurphy/3.4.0-rate-limit
CLI configurable limits for rates
2018-09-05 08:33:30 +12:00
ianrmurphy
e4cdb077b2 Added rate_limit feature to rateprofiles.
Updated to conform to style guide.

Fixed issue with statement ordering. Minimum rates of 200deg/s.

Added rate limits to MSP for use in Configurator.

Refactoring to improve efficiency.

Revert 'msp.c' changes.

Added BUILD_BUG_ON(CONTROL_RATE_CONFIG_RATE_LIMIT_MAX > SETPOINT_RATE_LIMIT).

Added rate_limits to log header to faciliate support for blackbox-log-viewer to correctly handle the rate calculation.

Use STATIC_ASSERT() for build protection.
2018-09-03 21:23:49 +01:00
Michael Keller
d9ac128b0d
Merge pull request #6686 from ctzsnooze/master-fix-dividebyzero-iterm
to prevent divide by zero possibility in pid.c
2018-09-03 23:06:32 +12:00
Blaine
2e552841f1 Enables Vario on targets that support barometers
OSD and telemetry output of vario data is enabled on F4 and up targets
that have
USE_BARO defined.  Settings and telem elements are removed from all
other targets.

F3 targets are not supported to free memory.
2018-09-02 23:20:07 -07:00
ctzsnooze
ec3ed476fa to prevent divide by zero possibility in pid.c 2018-09-03 12:43:18 +10:00
Michael Keller
a8b92ea920
Merge pull request #6662 from awolf78/master
GPS over MSP related fixes
2018-09-03 10:12:24 +12:00
mikeller
2fffaac3df Added 'VTX CONTROL DISABLE' mode. 2018-09-02 16:19:12 +12:00
Alex Wolf
7115ab4047 GPS over MSP related fixes 2018-08-31 22:31:56 -04:00
Bruce Luckcuck
f1488220f3 Rename level mode parameters to match their function
4.0 seems like a good time to rename these confusing legacy parameters to something that matches their function.

p_level -> angle_level_strength
i_level -> horizon_level_strength
d_level -> horizon_transition
2018-08-31 16:04:26 -04:00
timman2er
bc596e1f8b fixup Mikeller and levinap 2018-08-29 02:38:41 +02:00
timman2er
7b196b2ed7 ledvinap review (without editing battery.c if statements) 2018-08-27 18:30:03 +02:00
timman2er
3fea35079f add way to manually override battery cell count 2018-08-27 17:01:58 +02:00
timman2er
fc49f738c9 flip arrow turtle mode 2018-08-27 11:16:03 +02:00
mikeller
0bce8549ee Renamed 'fc/fc_' files to remove the double 'fc'. 2018-08-26 14:07:06 +12:00
Michael Keller
fc60cc27e9
Merge pull request #6623 from mikeller/remove_osd_slave
Removed OSD_SLAVE defines.
2018-08-25 23:37:30 +12:00
Michael Keller
83fa3f31c6
Merge pull request #6531 from awolf78/GPS_FROM_MSP
GPS support via MSP
2018-08-24 08:38:17 +12:00