This commit is contained in:
2024-09-27 17:13:53 +02:00
parent 368ccbb355
commit e71a8bc738
6 changed files with 1 additions and 1 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -94,7 +94,7 @@ float interp(float lower, float upper, float ratio) {
/// @param weight Weight in kilogrammes
/// @param tipTankPercent Lowest tip tank quantity (left/right) in percent
/// @param ci CI
/// @return Mach corresponding to CI
/// @return Mach corresponding to CI. Returns -1 if not possible
float ci2mach(float altitude, float weight, float tipTankPercent, int ci) {
auto [lowerFl, upperFl, ratioFl] = boundAltitude(altitude);
auto [lowerWgt, upperWgt, ratioWgt] = boundWeight(weight);