Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
deltaflight
Delta Configurator
Commits
0f9a390d
Commit
0f9a390d
authored
Mar 11, 2021
by
Mingchen Zhang
Browse files
Add modulus operator support - configurator
parent
2f733c00
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/fc.js
View file @
0f9a390d
...
...
@@ -1113,106 +1113,111 @@ var FC = {
output
:
"
raw
"
},
18
:
{
name
:
"
MOD
"
,
hasOperand
:
[
true
,
true
],
output
:
"
raw
"
},
19
:
{
name
:
"
GVAR SET
"
,
hasOperand
:
[
true
,
true
],
output
:
"
none
"
},
19
:
{
20
:
{
name
:
"
GVAR INC
"
,
hasOperand
:
[
true
,
true
],
output
:
"
none
"
},
2
0
:
{
2
1
:
{
name
:
"
GVAR DEC
"
,
hasOperand
:
[
true
,
true
],
output
:
"
none
"
},
2
1
:
{
2
2
:
{
name
:
"
IO PORT SET
"
,
hasOperand
:
[
true
,
true
],
output
:
"
none
"
},
2
2
:
{
2
3
:
{
name
:
"
OVERRIDE ARMING SAFETY
"
,
hasOperand
:
[
false
,
false
],
output
:
"
boolean
"
},
2
3
:
{
2
4
:
{
name
:
"
OVERRIDE THROTTLE SCALE
"
,
hasOperand
:
[
true
,
false
],
output
:
"
boolean
"
},
29
:
{
30
:
{
name
:
"
OVERRIDE THROTTLE
"
,
hasOperand
:
[
true
,
false
],
output
:
"
boolean
"
},
2
4
:
{
2
5
:
{
name
:
"
SWAP ROLL & YAW
"
,
hasOperand
:
[
false
,
false
],
output
:
"
boolean
"
},
2
5
:
{
2
6
:
{
name
:
"
SET VTX POWER LEVEL
"
,
hasOperand
:
[
true
,
false
],
output
:
"
boolean
"
},
3
0
:
{
3
1
:
{
name
:
"
SET VTX BAND
"
,
hasOperand
:
[
true
,
false
],
output
:
"
boolean
"
},
3
1
:
{
3
2
:
{
name
:
"
SET VTX CHANNEL
"
,
hasOperand
:
[
true
,
false
],
output
:
"
boolean
"
},
2
6
:
{
2
7
:
{
name
:
"
INVERT ROLL
"
,
hasOperand
:
[
false
,
false
],
output
:
"
boolean
"
},
2
7
:
{
2
8
:
{
name
:
"
INVERT PITCH
"
,
hasOperand
:
[
false
,
false
],
output
:
"
boolean
"
},
2
8
:
{
2
9
:
{
name
:
"
INVERT YAW
"
,
hasOperand
:
[
false
,
false
],
output
:
"
boolean
"
},
3
2
:
{
3
3
:
{
name
:
"
SET OSD LAYOUT
"
,
hasOperand
:
[
true
,
false
],
output
:
"
boolean
"
},
3
3
:
{
3
4
:
{
name
:
"
SIN
"
,
hasOperand
:
[
true
,
true
],
output
:
"
raw
"
},
3
4
:
{
3
5
:
{
name
:
"
COS
"
,
hasOperand
:
[
true
,
true
],
output
:
"
raw
"
},
3
5
:
{
3
6
:
{
name
:
"
TAN
"
,
hasOperand
:
[
true
,
true
],
output
:
"
raw
"
},
3
6
:
{
3
7
:
{
name
:
"
MAP INPUT
"
,
hasOperand
:
[
true
,
true
],
output
:
"
raw
"
},
3
7
:
{
3
8
:
{
name
:
"
MAP OUTPUT
"
,
hasOperand
:
[
true
,
true
],
output
:
"
raw
"
},
3
8
:
{
3
9
:
{
name
:
"
RC CHANNEL OVERRIDE
"
,
hasOperand
:
[
true
,
true
],
output
:
"
boolean
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment