1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-26 09:45:23 +03:00

Moved the mod operator to the last

This commit is contained in:
Mingchen Zhang 2021-03-12 02:19:30 +00:00
parent 0f9a390d25
commit c96f8aba24

View file

@ -1112,116 +1112,116 @@ var FC = {
hasOperand: [true, true], hasOperand: [true, true],
output: "raw" output: "raw"
}, },
18: { 40: {
name: "MOD", name: "MOD",
hasOperand: [true, true], hasOperand: [true, true],
output: "raw" output: "raw"
}, },
19: { 18: {
name: "GVAR SET", name: "GVAR SET",
hasOperand: [true, true], hasOperand: [true, true],
output: "none" output: "none"
}, },
20: { 19: {
name: "GVAR INC", name: "GVAR INC",
hasOperand: [true, true], hasOperand: [true, true],
output: "none" output: "none"
}, },
21: { 20: {
name: "GVAR DEC", name: "GVAR DEC",
hasOperand: [true, true], hasOperand: [true, true],
output: "none" output: "none"
}, },
22: { 21: {
name: "IO PORT SET", name: "IO PORT SET",
hasOperand: [true, true], hasOperand: [true, true],
output: "none" output: "none"
}, },
23: { 22: {
name: "OVERRIDE ARMING SAFETY", name: "OVERRIDE ARMING SAFETY",
hasOperand: [false, false], hasOperand: [false, false],
output: "boolean" output: "boolean"
}, },
24: { 23: {
name: "OVERRIDE THROTTLE SCALE", name: "OVERRIDE THROTTLE SCALE",
hasOperand: [true, false], hasOperand: [true, false],
output: "boolean" output: "boolean"
}, },
30: { 29: {
name: "OVERRIDE THROTTLE", name: "OVERRIDE THROTTLE",
hasOperand: [true, false], hasOperand: [true, false],
output: "boolean" output: "boolean"
}, },
25: { 24: {
name: "SWAP ROLL & YAW", name: "SWAP ROLL & YAW",
hasOperand: [false, false], hasOperand: [false, false],
output: "boolean" output: "boolean"
}, },
26: { 25: {
name: "SET VTX POWER LEVEL", name: "SET VTX POWER LEVEL",
hasOperand: [true, false], hasOperand: [true, false],
output: "boolean" output: "boolean"
}, },
31: { 30: {
name: "SET VTX BAND", name: "SET VTX BAND",
hasOperand: [true, false], hasOperand: [true, false],
output: "boolean" output: "boolean"
}, },
32: { 31: {
name: "SET VTX CHANNEL", name: "SET VTX CHANNEL",
hasOperand: [true, false], hasOperand: [true, false],
output: "boolean" output: "boolean"
}, },
27: { 26: {
name: "INVERT ROLL", name: "INVERT ROLL",
hasOperand: [false, false], hasOperand: [false, false],
output: "boolean" output: "boolean"
}, },
28: { 27: {
name: "INVERT PITCH", name: "INVERT PITCH",
hasOperand: [false, false], hasOperand: [false, false],
output: "boolean" output: "boolean"
}, },
29: { 28: {
name: "INVERT YAW", name: "INVERT YAW",
hasOperand: [false, false], hasOperand: [false, false],
output: "boolean" output: "boolean"
}, },
33: { 32: {
name: "SET OSD LAYOUT", name: "SET OSD LAYOUT",
hasOperand: [true, false], hasOperand: [true, false],
output: "boolean" output: "boolean"
}, },
34: { 33: {
name: "SIN", name: "SIN",
hasOperand: [true, true], hasOperand: [true, true],
output: "raw" output: "raw"
}, },
35: { 34: {
name: "COS", name: "COS",
hasOperand: [true, true], hasOperand: [true, true],
output: "raw" output: "raw"
}, },
36: { 35: {
name: "TAN", name: "TAN",
hasOperand: [true, true], hasOperand: [true, true],
output: "raw" output: "raw"
}, },
37: { 36: {
name: "MAP INPUT", name: "MAP INPUT",
hasOperand: [true, true], hasOperand: [true, true],
output: "raw" output: "raw"
}, },
38: { 37: {
name: "MAP OUTPUT", name: "MAP OUTPUT",
hasOperand: [true, true], hasOperand: [true, true],
output: "raw" output: "raw"
}, },
39: { 38: {
name: "RC CHANNEL OVERRIDE", name: "RC CHANNEL OVERRIDE",
hasOperand: [true, true], hasOperand: [true, true],
output: "boolean" output: "boolean"
} },
} }
}, },
getOperandTypes: function () { getOperandTypes: function () {