Noise reducing measures

This commit is contained in:
Applevangelist
2021-12-15 13:46:33 +01:00
parent ab93866366
commit 07e00a8faf
4 changed files with 9 additions and 5 deletions

View File

@@ -409,7 +409,11 @@ end
-- @param #number knots Speed in knots.
-- @return #number Speed in m/s.
UTILS.KnotsToMps = function( knots )
return knots / 1.94384 --* 1852 / 3600
if type(knots) == "number" then
return knots / 1.94384 --* 1852 / 3600
else
return 0
end
end
--- Convert temperature from Celsius to Farenheit.