mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-14 11:59:53 +03:00
Add MSP_MODE_RANGES_EXTRA
Add MSP_MODE_RANGES_EXTRA to msp codes. Add MODE_RANGES_EXTRA function call. Add modeRangeExtra when reading mode settings. Add UI for modeLogic. Position and populate Logic selector. Some fixes for msp apiVersion checking. Add 'save' modeLogic. Add link button and translations. Add code to show/hide Link button. Adjust position of link and range buttons. Add structure code for Link button. Add linkedTo code. Add link div with delete button to html and css. Add code to hide/show buttons when link is pressed. Add code to add link select to range area. Add save code for linked modes. Add formatting to link. Don't allow linking to/from ARM or self. Remove unnecessary styling. Update reading MODE_RANGES_EXTRA array length. Set defaults for '_EXTRA' to aux tab.
This commit is contained in:
parent
43bb0e42b5
commit
5b8e38c216
20 changed files with 376 additions and 28 deletions
|
@ -148,6 +148,7 @@ var MSPCodes = {
|
|||
MSP_SET_COMPASS_CONFIG: 224,
|
||||
MSP_SET_GPS_RESCUE: 225,
|
||||
|
||||
MSP_MODE_RANGES_EXTRA: 238,
|
||||
MSP_SET_ACC_TRIM: 239,
|
||||
MSP_ACC_TRIM: 240,
|
||||
MSP_SERVO_MIX_RULES: 241,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue