mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 04:15:28 +03:00
Support for I2C IO Expander board
This commit is contained in:
parent
a711632fd2
commit
edb7648eee
2 changed files with 9 additions and 4 deletions
5
js/fc.js
5
js/fc.js
|
@ -1125,6 +1125,11 @@ var FC = {
|
||||||
name: "GVAR DEC",
|
name: "GVAR DEC",
|
||||||
hasOperand: [true, true],
|
hasOperand: [true, true],
|
||||||
output: "none"
|
output: "none"
|
||||||
|
},
|
||||||
|
128: {
|
||||||
|
name: "IO SET",
|
||||||
|
hasOperand: [true, true],
|
||||||
|
output: "none"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -500,11 +500,11 @@ var mspHelper = (function (gui) {
|
||||||
for (i = 0; i < data.byteLength; i += 14) {
|
for (i = 0; i < data.byteLength; i += 14) {
|
||||||
LOGIC_CONDITIONS.put(new LogicCondition(
|
LOGIC_CONDITIONS.put(new LogicCondition(
|
||||||
data.getInt8(i),
|
data.getInt8(i),
|
||||||
data.getInt8(i + 1),
|
data.getUint8(i + 1),
|
||||||
data.getInt8(i + 2),
|
data.getUint8(i + 2),
|
||||||
data.getInt8(i + 3),
|
data.getUint8(i + 3),
|
||||||
data.getInt32(i + 4, true),
|
data.getInt32(i + 4, true),
|
||||||
data.getInt8(i + 8),
|
data.getUint8(i + 8),
|
||||||
data.getInt32(i + 9, true),
|
data.getInt32(i + 9, true),
|
||||||
data.getInt8(i + 13)
|
data.getInt8(i + 13)
|
||||||
));
|
));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue