mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 19:40:22 +03:00
Drop MSP_SERVO_MIX_RULES
This commit is contained in:
parent
5403fc9708
commit
cc972d8b42
2 changed files with 0 additions and 21 deletions
|
@ -437,21 +437,6 @@ var mspHelper = (function (gui) {
|
|||
for (i = 0; i < data.byteLength; i++) {
|
||||
AUX_CONFIG_IDS.push(data.getUint8(i));
|
||||
}
|
||||
break;
|
||||
case MSPCodes.MSP_SERVO_MIX_RULES:
|
||||
SERVO_RULES.flush();
|
||||
if (data.byteLength % 8 === 0) {
|
||||
for (i = 0; i < data.byteLength; i += 8) {
|
||||
SERVO_RULES.put(new ServoMixRule(
|
||||
data.getInt8(i),
|
||||
data.getInt8(i + 1),
|
||||
data.getInt16(i + 2, true),
|
||||
data.getInt8(i + 4)
|
||||
));
|
||||
}
|
||||
}
|
||||
SERVO_RULES.cleanup();
|
||||
|
||||
break;
|
||||
case MSPCodes.MSP2_INAV_SERVO_MIXER:
|
||||
SERVO_RULES.flush();
|
||||
|
@ -469,9 +454,6 @@ var mspHelper = (function (gui) {
|
|||
SERVO_RULES.cleanup();
|
||||
break;
|
||||
|
||||
case MSPCodes.MSP_SET_SERVO_MIX_RULE:
|
||||
console.log("Servo mix saved");
|
||||
break;
|
||||
case MSPCodes.MSP2_INAV_SET_SERVO_MIXER:
|
||||
console.log("Servo mix saved");
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue