1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-27 02:05:17 +03:00

Add modulus operator support - configurator

This commit is contained in:
Mingchen Zhang 2021-03-11 08:26:06 +00:00
parent 2f733c00f1
commit 0f9a390d25

View file

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