mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-14 20:10:11 +03:00
Added support for DJI wtfos MSP-OSD full screen 59x22 OSD
This commit is contained in:
parent
0917397880
commit
ffee3d3935
4 changed files with 74 additions and 18 deletions
|
@ -477,9 +477,9 @@ var mspHelper = (function (gui) {
|
|||
data.getInt8(i + 13)
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case MSPCodes.MSP2_INAV_LOGIC_CONDITIONS_SINGLE:
|
||||
LOGIC_CONDITIONS.put(new LogicCondition(
|
||||
data.getInt8(0),
|
||||
|
@ -788,7 +788,7 @@ var mspHelper = (function (gui) {
|
|||
}
|
||||
CONFIG.target = targetName;
|
||||
}
|
||||
|
||||
|
||||
break;
|
||||
|
||||
case MSPCodes.MSP_SET_CHANNEL_FORWARDING:
|
||||
|
@ -2282,8 +2282,8 @@ var mspHelper = (function (gui) {
|
|||
}
|
||||
};
|
||||
|
||||
self.loadLogicConditions = function (callback) {
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "5.0.0")) {
|
||||
self.loadLogicConditions = function (callback) {
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "5.0.0")) {
|
||||
LOGIC_CONDITIONS.flush();
|
||||
let idx = 0;
|
||||
MSP.send_message(MSPCodes.MSP2_INAV_LOGIC_CONDITIONS_SINGLE, [idx], false, nextLogicCondition);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue