parent
28704a9970
commit
e522c7d149
|
@ -49,11 +49,11 @@ floatms_t getCrankshaftRevolutionTimeMs(int rpm) {
|
||||||
}
|
}
|
||||||
|
|
||||||
float getFuelingLoad() {
|
float getFuelingLoad() {
|
||||||
return engine->engineState.fuelingLoad;
|
return getEngineState()->fuelingLoad;
|
||||||
}
|
}
|
||||||
|
|
||||||
float getIgnitionLoad() {
|
float getIgnitionLoad() {
|
||||||
return engine->engineState.ignitionLoad;
|
return getEngineState()->ignitionLoad;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -434,7 +434,7 @@ ignition_mode_e getCurrentIgnitionMode() {
|
||||||
* This heavy method is only invoked in case of a configuration change or initialization.
|
* This heavy method is only invoked in case of a configuration change or initialization.
|
||||||
*/
|
*/
|
||||||
void prepareOutputSignals() {
|
void prepareOutputSignals() {
|
||||||
engine->engineState.engineCycle = getEngineCycle(engine->getOperationMode());
|
getEngineState()->engineCycle = getEngineCycle(engine->getOperationMode());
|
||||||
|
|
||||||
angle_t maxTimingCorrMap = -FOUR_STROKE_CYCLE_DURATION;
|
angle_t maxTimingCorrMap = -FOUR_STROKE_CYCLE_DURATION;
|
||||||
angle_t maxTimingMap = -FOUR_STROKE_CYCLE_DURATION;
|
angle_t maxTimingMap = -FOUR_STROKE_CYCLE_DURATION;
|
||||||
|
|
Loading…
Reference in New Issue