rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Data Structures | Functions
airmass.h File Reference

Data Structures

struct  AirmassResult
 
struct  AirmassModelBase
 
class  AirmassVeModelBase
 

Functions

float getVeLoadAxis (ve_override_e mode, float passedLoad)
 

Function Documentation

◆ getVeLoadAxis()

float getVeLoadAxis ( ve_override_e  mode,
float  passedLoad 
)

Definition at line 8 of file airmass.cpp.

8 {
9 switch(mode) {
10 case VE_None: return passedLoad;
11 case VE_MAP: return Sensor::getOrZero(SensorType::Map);
12 case VE_TPS: return Sensor::getOrZero(SensorType::Tps1);
13 default: return 0;
14 }
15}
static float getOrZero(SensorType type)
Definition sensor.h:83

Referenced by AirmassVeModelBase::getVe().

Here is the call graph for this function:
Here is the caller graph for this function:

Go to the source code of this file.