GCC Code Coverage Report


Directory: ./
File: firmware/controllers/tcu/gear_controller.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 "global.h"
4 #include "io_pins.h"
5 #include "persistent_configuration.h"
6 #include "generated_lookup_engine_configuration.h"
7 #include "simple_tcu.h"
8 #include "tc_4l6x.h"
9
10 #if EFI_TCU
11 class GearControllerBase {
12 public:
13 virtual void update();
14 virtual gear_e getDesiredGear() const;
15 virtual void init();
16 virtual GearControllerMode getMode() const {
17 return GearControllerMode::ButtonShift;
18 }
19 TransmissionControllerBase *transmissionController;
20 protected:
21 virtual gear_e setDesiredGear(gear_e);
22 void initTransmissionController();
23 float* getRangeStateArray(int);
24 private:
25 gear_e desiredGear = NEUTRAL;
26 void postState();
27 };
28
29 void initGearController();
30 #endif // EFI_TCU
31