1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-14 03:49:53 +03:00

Support for I2C IO Expander board

This commit is contained in:
Pawel Spychalski (DzikuVx) 2020-07-20 20:20:06 +02:00
parent a711632fd2
commit edb7648eee
2 changed files with 9 additions and 4 deletions

View file

@ -1125,6 +1125,11 @@ var FC = {
name: "GVAR DEC",
hasOperand: [true, true],
output: "none"
},
128: {
name: "IO SET",
hasOperand: [true, true],
output: "none"
}
}
},

View file

@ -500,11 +500,11 @@ var mspHelper = (function (gui) {
for (i = 0; i < data.byteLength; i += 14) {
LOGIC_CONDITIONS.put(new LogicCondition(
data.getInt8(i),
data.getInt8(i + 1),
data.getInt8(i + 2),
data.getInt8(i + 3),
data.getUint8(i + 1),
data.getUint8(i + 2),
data.getUint8(i + 3),
data.getInt32(i + 4, true),
data.getInt8(i + 8),
data.getUint8(i + 8),
data.getInt32(i + 9, true),
data.getInt8(i + 13)
));