◆ getLiveData()
Definition at line 37 of file init_lambda.cpp.
37 {
38#if EFI_CAN_SUPPORT
39 switch (idx) {
40 case 0:
43 case 1:
46 }
47#endif
48
49 return nullptr;
50}
static AemXSeriesWideband aem2(1, SensorType::Lambda2)
static AemXSeriesWideband aem1(0, SensorType::Lambda1)
◆ initLambda()
Definition at line 52 of file init_lambda.cpp.
52 {
53
56
57#if EFI_CAN_SUPPORT
60 criticalError("CAN read and write are required to use CAN wideband.");
61 return;
62 }
63
66
67 return;
68 }
69#endif
70
71#if EFI_UNIT_TEST
72 constexpr bool isUnitTest = true;
73#else
74 constexpr bool isUnitTest = false;
75#endif
76
77
80 }
83 }
84}
void registerCanSensor(CanSensorBase &sensor)
StoredValueSensor smoothedLambda2Sensor(SensorType::SmoothedLambda2, MS2NT(500))
StoredValueSensor smoothedLambda1Sensor(SensorType::SmoothedLambda1, MS2NT(500))
static constexpr engine_configuration_s * engineConfiguration
static FunctionPointerSensor lambdaSensor2(SensorType::Lambda2, []() { return afrWrapper.getLambda2();})
static FunctionPointerSensor lambdaSensor(SensorType::Lambda1, []() { return afrWrapper.getLambda();})
Referenced by initNewSensors().
◆ aem1
◆ aem2
◆ afrWrapper
◆ lambdaSensor
◆ lambdaSensor2
Go to the source code of this file.