GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 0.0% 0 / 0 / 2
Functions: 0.0% 0 / 0 / 1
Branches: -% 0 / 0 / 0
Decisions: -% 0 / - / 0

firmware/controllers/sensors/converters/input_shaft_speed_converter.h
Line Branch Decision Exec Source
1 #include "pch.h"
2 #include "sensor_converter_func.h"
3
4 class InputShaftSpeedConverter : public SensorConverter {
5 public:
6 SensorResult convert(float frequency) const override {
7 return frequency * 60 / engineConfiguration->tcuInputSpeedSensorTeeth;
8 }
9 };
10