mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-16 08:29:15 +01:00
LP-230 Set "FixMe" in all wrong enums to be consistent
This commit is contained in:
parent
14c2471203
commit
c71345117b
@ -159,7 +159,7 @@ function frameType() {
|
|||||||
|
|
||||||
if (frameTypeText.length != SystemSettings.SystemSettingsConstants.AirframeTypeCount) {
|
if (frameTypeText.length != SystemSettings.SystemSettingsConstants.AirframeTypeCount) {
|
||||||
console.log("uav.js: frameType() do not match systemSettings.airframeType uavo");
|
console.log("uav.js: frameType() do not match systemSettings.airframeType uavo");
|
||||||
return "Unknow"
|
return "FixMe"
|
||||||
} else {
|
} else {
|
||||||
return frameTypeText[systemSettings.airframeType]
|
return frameTypeText[systemSettings.airframeType]
|
||||||
}
|
}
|
||||||
@ -438,7 +438,7 @@ function flightModeName() {
|
|||||||
|
|
||||||
if (flightModeNameText.length != FlightStatus.FlightStatusConstants.FlightModeCount) {
|
if (flightModeNameText.length != FlightStatus.FlightStatusConstants.FlightModeCount) {
|
||||||
console.log("uav.js: flightModeName() do not match flightStatus.flightMode uavo");
|
console.log("uav.js: flightModeName() do not match flightStatus.flightMode uavo");
|
||||||
return "UNKNOW"
|
return "FixMe"
|
||||||
} else {
|
} else {
|
||||||
return flightModeNameText[flightStatus.flightMode];
|
return flightModeNameText[flightStatus.flightMode];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user