1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-15 07:29:15 +01:00

LP-230 Set "FixMe" in all wrong enums to be consistent

This commit is contained in:
Laurent Lalanne 2016-08-04 10:08:10 +02:00
parent 14c2471203
commit c71345117b

View File

@ -159,7 +159,7 @@ function frameType() {
if (frameTypeText.length != SystemSettings.SystemSettingsConstants.AirframeTypeCount) {
console.log("uav.js: frameType() do not match systemSettings.airframeType uavo");
return "Unknow"
return "FixMe"
} else {
return frameTypeText[systemSettings.airframeType]
}
@ -438,7 +438,7 @@ function flightModeName() {
if (flightModeNameText.length != FlightStatus.FlightStatusConstants.FlightModeCount) {
console.log("uav.js: flightModeName() do not match flightStatus.flightMode uavo");
return "UNKNOW"
return "FixMe"
} else {
return flightModeNameText[flightStatus.flightMode];
}