mirror of https://github.com/FOME-Tech/fome-fw.git
#657 fixing fresh defect
This commit is contained in:
parent
cf4f458cd9
commit
cb559a3259
|
@ -36,6 +36,7 @@
|
||||||
|
|
||||||
#define get_operationMode CONFIG_ACCESS_FOR_CONFIG_HEADER_ONLY(operationMode)
|
#define get_operationMode CONFIG_ACCESS_FOR_CONFIG_HEADER_ONLY(operationMode)
|
||||||
#define get_specs_displacement CONFIG_ACCESS_FOR_CONFIG_HEADER_ONLY(specs.displacement)
|
#define get_specs_displacement CONFIG_ACCESS_FOR_CONFIG_HEADER_ONLY(specs.displacement)
|
||||||
|
#define get_specs_cylindersCount CONFIG_ACCESS_FOR_CONFIG_HEADER_ONLY(specs.cylindersCount)
|
||||||
#define get_injector_flow CONFIG_ACCESS_FOR_CONFIG_HEADER_ONLY(injector.flow)
|
#define get_injector_flow CONFIG_ACCESS_FOR_CONFIG_HEADER_ONLY(injector.flow)
|
||||||
|
|
||||||
#endif /* CONTROLLERS_MATH_CONFIG_ENGINE_SPECS_H_ */
|
#endif /* CONTROLLERS_MATH_CONFIG_ENGINE_SPECS_H_ */
|
||||||
|
|
|
@ -89,7 +89,7 @@ static float getCycleAirMass(float volumetricEfficiency, float MAP, float tempK
|
||||||
|
|
||||||
float getCylinderAirMass(float volumetricEfficiency, float MAP, float tempK DECLARE_GLOBAL_SUFFIX) {
|
float getCylinderAirMass(float volumetricEfficiency, float MAP, float tempK DECLARE_GLOBAL_SUFFIX) {
|
||||||
return getCycleAirMass(volumetricEfficiency, MAP, tempK PASS_GLOBAL_SUFFIX)
|
return getCycleAirMass(volumetricEfficiency, MAP, tempK PASS_GLOBAL_SUFFIX)
|
||||||
/ get_specs_displacement;
|
/ get_specs_cylindersCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -57,6 +57,7 @@ GTEST_API_ int main(int argc, char **argv) {
|
||||||
// uncomment if you only want to run selected tests
|
// uncomment if you only want to run selected tests
|
||||||
//::testing::GTEST_FLAG(filter) = "*testFasterEngineSpinningUp*";
|
//::testing::GTEST_FLAG(filter) = "*testFasterEngineSpinningUp*";
|
||||||
int result = RUN_ALL_TESTS();
|
int result = RUN_ALL_TESTS();
|
||||||
|
// windows ERRORLEVEL in Jenkins batch file seems to want negative value to detect failure
|
||||||
return result == 0 ? 0 : -1;
|
return result == 0 ? 0 : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue