mirror of https://github.com/rusefi/rusefi-1.git
10 lines
243 B
C
10 lines
243 B
C
|
#include "pch.h"
|
||
|
#include "sensor_converter_func.h"
|
||
|
|
||
|
class InputShaftSpeedConverter : public SensorConverter {
|
||
|
public:
|
||
|
SensorResult convert(float frequency) const override {
|
||
|
return frequency * 60 / engineConfiguration->vssToothCount;
|
||
|
}
|
||
|
};
|