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

20 commits

Author SHA1 Message Date
Dave Huber
3d1dee8009 Fix MSP_MODE_RANGES_EXTRA link to permanentId 2019-02-17 00:34:11 -06:00
AJ Christensen
4fdee6ec1c Gyro Sensors: Remove 32kHz gyro sampling mode(s) and associated code 2019-02-13 22:41:21 +13:00
mikeller
858c55af74 Fixed USB MSC activation over MSP. Also fixed fallthrough in case of invalid reboot type. 2019-02-10 14:59:13 +13:00
Michael Keller
d63878aebc
Merge pull request #7553 from etracer65/osd_profile_switch_msp_cms
Add OSD profile switching to MSP and CMS
2019-02-10 12:55:55 +13:00
Michael Keller
4f7fa25b06
Merge pull request #7543 from dthubereng/add_mode_logic_to_msp
Add MODE_RANGES_EXTRA to MSP
2019-02-09 13:34:00 +13:00
Bruce Luckcuck
1d6f86d234 Add OSD profile switching to MSP and CMS
Update the active OSD profile based on the MSP message. Makes the OSD show the selected profile immediately when the drop-down is changed in the Configurator. All other elements have "live" updates so this should a well.

Add CMS menu to select the OSD profile.
2019-02-08 13:26:48 -05:00
mikeller
b5908f5bab Applied 'USE_ACC' consistently. 2019-02-08 09:51:48 +13:00
Michael Keller
59ea4becb3
Merge pull request #7516 from mikeller/add_automatic_pid_profile_switching
Added battery cell count based automatic PID profile switching.
2019-02-08 09:28:07 +13:00
Dave Huber
bb95d53e62 Add mode logic to MSP
Add msp code 238.
Add MSP_MODE_RANGES code to msp.c.
Add 2 extra byte reads to MSP_SET_MODE_RANGES.
Add check for extra bytes in MSP_SET_MODE_RANGES
Add API documentation for MSP_MODE_RANGES_EXTRA
convert linkedTo storage to boxid
Send length of array in EXTRAS data
Add note that alignment of elements of MODE_RANGES and MODE_RANGES_EXTRA is required and indicated by permanentId.
2019-02-07 10:28:34 -06:00
mikeller
b93b345830 Added the MCU type to MSP. 2019-02-07 00:16:13 +13:00
Michael Keller
7393d5fdac
Merge pull request #7529 from jflyper/bfdev-stronger-USE_ACC
[REFACTOR] More application of USE_ACC
2019-02-06 10:08:49 +13:00
mikeller
e121e1e92b Separated LED_STRIP parameter groups, separated out LED_STRIP status mode code. 2019-02-05 08:39:42 +13:00
jflyper
cc0e689bb5 Add USE_ACC conditionals 2019-02-04 20:37:43 +09:00
mikeller
299d96fdc7 Added battery cell count based automatic PID profile switching. 2019-02-04 13:15:43 +13:00
Michael Keller
5a1c0769e7
Merge pull request #7503 from etracer65/osd_profile_msp
Add MSP support for OSD profiles and OSD stick overlay
2019-02-03 14:05:32 +13:00
Bruce Luckcuck
5c05e945df Add MSP support for OSD profiles and OSD stick overlay
Adds available profiles and currently selected OSD profile. If the `USE_OSD_PROFILES` feature is not available then the profile count and selected profile will be 1.

Adds OSD stick overlay radio mode. A zero value indicates OSD stick overlay is not available.
2019-02-02 09:40:48 -05:00
Bruce Luckcuck
d66533fb5a Update MSP gyro alignment support and preserve backwards compatibility
Preserve gyro/acc alignment backwards compatibility for configurator versions unaware of the revised sensor alignment scheme.

Update MSP to add support for:
1. Flag to indicate whether `USE_MULTI_GYRO` is available
2. `gyro_to_use`
3. `gyro_1_sensor_align` and `gyro_2_sensor_align`.
2019-02-01 21:52:47 -05:00
mikeller
21edada68b Removed leftover references to 'gyro_align', 'acc_align'. 2019-02-01 01:50:40 +13:00
Bruce Luckcuck
d8c54460a9 Update ledstrip MSP to add support for advanced flag and profile
Added a flag indicating the level of ledstrip support (to allow improved Configurator behavior) along with support for reading/setting the current `ledstrip_profile`.

ledstrip support flag is as follows:
0 = basic ledstrip available
1 = advanced ledstrip available
2019-01-29 09:43:19 -05:00
mikeller
38e1ce04df Reorganised interfaces, putting them where they are used. 2019-01-27 13:38:22 +13:00
Renamed from src/main/interface/msp.c (Browse further)