mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-25 01:05:12 +03:00
Added more LCs
Added LCs for: - Delay - Timer - Delta - Approx Equal
This commit is contained in:
parent
1587253cc3
commit
a38c96fef2
1 changed files with 27 additions and 3 deletions
30
js/fc.js
30
js/fc.js
|
@ -888,19 +888,19 @@ var FC = {
|
|||
output: "boolean"
|
||||
},
|
||||
1: {
|
||||
name: "Equal",
|
||||
name: "Equal (A = B)",
|
||||
operandType: "Comparison",
|
||||
hasOperand: [true, true],
|
||||
output: "boolean"
|
||||
},
|
||||
2: {
|
||||
name: "Greater Than",
|
||||
name: "Greater Than (A > B)",
|
||||
operandType: "Comparison",
|
||||
hasOperand: [true, true],
|
||||
output: "boolean"
|
||||
},
|
||||
3: {
|
||||
name: "Lower Than",
|
||||
name: "Lower Than (A < B)",
|
||||
operandType: "Comparison",
|
||||
hasOperand: [true, true],
|
||||
output: "boolean"
|
||||
|
@ -1164,6 +1164,30 @@ var FC = {
|
|||
hasOperand: [true, true],
|
||||
output: "boolean"
|
||||
},
|
||||
48: {
|
||||
name: "Delay",
|
||||
operandType: "Logic Switches",
|
||||
hasOperand: [true, true],
|
||||
output: "boolean"
|
||||
},
|
||||
49: {
|
||||
name: "Timer",
|
||||
operandType: "Logic Switches",
|
||||
hasOperand: [true, true],
|
||||
output: "boolean"
|
||||
},
|
||||
50: {
|
||||
name: "Delta (|A| > B)",
|
||||
operandType: "Comparison",
|
||||
hasOperand: [true, true],
|
||||
output: "boolean"
|
||||
},
|
||||
51: {
|
||||
name: "Approx Equals (A ~ B)",
|
||||
operandType: "Comparison",
|
||||
hasOperand: [true, true],
|
||||
output: "boolean"
|
||||
},
|
||||
}
|
||||
},
|
||||
getOperandTypes: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue