23 lines
521 B
C++
23 lines
521 B
C++
/*
|
|
* @file advance_map.h
|
|
*
|
|
* @date Mar 27, 2013
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
|
*/
|
|
|
|
#include "ignition_state_generated.h"
|
|
|
|
#pragma once
|
|
|
|
angle_t getAdvance(int rpm, float engineLoad);
|
|
angle_t getCylinderIgnitionTrim(size_t cylinderNumber, int rpm, float ignitionLoad);
|
|
float getInitialAdvance(int rpm, float map, float advanceMax);
|
|
|
|
angle_t getAdvanceCorrections(int rpm);
|
|
size_t getMultiSparkCount(int rpm);
|
|
|
|
class IgnitionState : public ignition_state_s {
|
|
public:
|
|
floatms_t getSparkDwell(int rpm);
|
|
};
|