GCC Code Coverage Report


Directory: ./
File: firmware/controllers/tcu/gc_generic.h
Date: 2025-11-16 14:52:24
Coverage Exec Excl Total
Lines: 0.0% 0 0 2
Functions: 0.0% 0 0 1
Branches: -% 0 0 0
Decisions: -% 0 - 0

Line Branch Decision Exec Source
1 #pragma once
2
3 #include "gear_controller.h"
4 #include "gc_auto.h"
5
6 #if EFI_TCU
7 class GenericGearController: public AutomaticGearController {
8 public:
9 GenericGearController();
10
11 void update();
12 void init();
13 GearControllerMode getMode() const {
14 return GearControllerMode::Generic;
15 }
16 private:
17 Timer shiftTimer;
18 SelectedGear lastRange;
19 bool isNearest(float value, int pinIndex, float* rangeStates);
20 SensorType getAnalogSensorType(int zeroBasedSensorIndex);
21 };
22
23 GenericGearController* getGenericGearController();
24 #endif // EFI_TCU
25