mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-18 22:05:13 +03:00
CF/BF - Allow mixer to be changed - due to removal of MSP_MISC.
This commit is contained in:
parent
159673533b
commit
1a87198bba
2 changed files with 12 additions and 1 deletions
|
@ -1052,6 +1052,9 @@ MspHelper.prototype.process_data = function(dataHandler) {
|
|||
case MSPCodes.MSP_SET_MOTOR_3D_CONFIG:
|
||||
console.log('3D settings saved');
|
||||
break;
|
||||
case MSPCodes.MSP_SET_MIXER_CONFIG:
|
||||
console.log('Mixer config saved');
|
||||
break;
|
||||
case MSPCodes.MSP_SET_RC_DEADBAND:
|
||||
console.log('Rc controls settings saved');
|
||||
break;
|
||||
|
@ -1131,6 +1134,9 @@ MspHelper.prototype.crunch = function(code) {
|
|||
var featureMask = FEATURE_CONFIG.features.getMask();
|
||||
buffer.push32(featureMask);
|
||||
break;
|
||||
case MSPCodes.MSP_SET_MIXER_CONFIG:
|
||||
buffer.push8(MIXER_CONFIG.mixer)
|
||||
break;
|
||||
// case MSPCodes.MSP_SET_BF_CONFIG:
|
||||
// var featureMask = FEATURE_CONFIG.features.getMask();
|
||||
// buffer.push8(MIXER_CONFIG.mixer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue