auto-sync
This commit is contained in:
parent
f303751669
commit
f77fd6b7ca
|
@ -48,11 +48,14 @@ extern "C"
|
||||||
#define getOneDegreeTimeMs(rpm) (1000.0f * 60 / 360 / (rpm))
|
#define getOneDegreeTimeMs(rpm) (1000.0f * 60 / 360 / (rpm))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return time needed to rotate crankshaft by one degree, in microseconds.
|
* @return float, time needed to rotate crankshaft by one degree, in microseconds.
|
||||||
*/
|
*/
|
||||||
#define getOneDegreeTimeUs(rpm) (1000000.0f * 60 / 360 / (rpm))
|
#define getOneDegreeTimeUs(rpm) (1000000.0f * 60 / 360 / (rpm))
|
||||||
|
|
||||||
#define getOneDegreeTimeNt(rpm) (US2NT(1000000.0f) * 60 / 360 / (rpm))
|
/**
|
||||||
|
* @return float, time needed to rotate crankshaft by one degree, in native clicks.
|
||||||
|
*/
|
||||||
|
#define getOneDegreeTimeNt(rpm) (US2NT(1000000) * 60.0f / 360 / (rpm))
|
||||||
|
|
||||||
float getCrankshaftRevolutionTimeMs(int rpm);
|
float getCrankshaftRevolutionTimeMs(int rpm);
|
||||||
|
|
||||||
|
|
|
@ -265,5 +265,5 @@ int getRusEfiVersion(void) {
|
||||||
return 1; // this is here to make the compiler happy about the unused array
|
return 1; // this is here to make the compiler happy about the unused array
|
||||||
if (UNUSED_CCM_SIZE == 0)
|
if (UNUSED_CCM_SIZE == 0)
|
||||||
return 1; // this is here to make the compiler happy about the unused array
|
return 1; // this is here to make the compiler happy about the unused array
|
||||||
return 20141215;
|
return 20141216;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue