| 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 |