GCC Code Coverage Report


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

firmware/controllers/sensors/converters/identity_func.h
Line Branch Decision Exec Source
1 #pragma once
2
3 #include "sensor_converter_func.h"
4
5 struct IdentityFunction : public SensorConverter {
6 1000 SensorResult convert(float raw) const {
7 1000 return raw;
8 }
9
10 void showInfo(float testRawValue) const;
11 };
12
13 extern IdentityFunction identityFunction;
14