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