docs
This commit is contained in:
parent
b447f2d359
commit
47aa86ff18
|
@ -142,7 +142,7 @@ public:
|
||||||
efitimesec_t timeOfPreviousWarning;
|
efitimesec_t timeOfPreviousWarning;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* speed-density logic, calculated air mass in gramms
|
* speed-density logic, calculated air mass in grams
|
||||||
*/
|
*/
|
||||||
float airMass;
|
float airMass;
|
||||||
|
|
||||||
|
|
|
@ -59,6 +59,9 @@ float getTCharge(int rpm, float tps, float coolantTemp, float airTemp DECLARE_EN
|
||||||
*/
|
*/
|
||||||
#define GAS_R 0.28705
|
#define GAS_R 0.28705
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return air mass in grams
|
||||||
|
*/
|
||||||
float getCycleAirMass(engine_configuration_s *engineConfiguration, float VE, float MAP, float tempK) {
|
float getCycleAirMass(engine_configuration_s *engineConfiguration, float VE, float MAP, float tempK) {
|
||||||
// todo: pre-calculate cylinder displacement to save one division
|
// todo: pre-calculate cylinder displacement to save one division
|
||||||
float cylinderDisplacement = engineConfiguration->specs.displacement;
|
float cylinderDisplacement = engineConfiguration->specs.displacement;
|
||||||
|
|
Loading…
Reference in New Issue