| Line | Branch | Decision | Exec | Source |
|---|---|---|---|---|
| 1 | #pragma once | |||
| 2 | ||||
| 3 | #include "gear_controller.h" | |||
| 4 | ||||
| 5 | #if EFI_TCU | |||
| 6 | class AutomaticGearController: public GearControllerBase { | |||
| 7 | public: | |||
| 8 | AutomaticGearController(); | |||
| 9 | ||||
| 10 | void update(); | |||
| 11 | void findDesiredGear(); | |||
| 12 | ✗ | GearControllerMode getMode() const { | ||
| 13 | ✗ | return GearControllerMode::Automatic; | ||
| 14 | } | |||
| 15 | private: | |||
| 16 | void shift(float speed, float throttle, uint8_t (*curve)[TCU_TABLE_WIDTH], gear_e gear); | |||
| 17 | void shift(float speed, float throttle, uint8_t (*curve)[TCU_TABLE_WIDTH], gear_e gear, bool down); | |||
| 18 | }; | |||
| 19 | ||||
| 20 | AutomaticGearController* getAutomaticGearController(); | |||
| 21 | #endif // EFI_TCU | |||
| 22 |