2022-04-06 14:37:30 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "tcu.h"
|
|
|
|
|
2022-04-23 04:34:39 -07:00
|
|
|
#if EFI_TCU
|
2022-04-06 14:37:30 -07:00
|
|
|
class Gm4l6xTransmissionController: public TransmissionControllerBase {
|
|
|
|
public:
|
|
|
|
void update(gear_e);
|
|
|
|
void init();
|
2022-04-18 17:09:27 -07:00
|
|
|
TransmissionControllerMode getMode() const {
|
|
|
|
return TransmissionControllerMode::Gm4l6x;
|
|
|
|
}
|
2022-04-12 16:15:09 -07:00
|
|
|
private:
|
|
|
|
gear_e setCurrentGear(gear_e gear);
|
|
|
|
void setTccState();
|
2022-04-18 17:09:27 -07:00
|
|
|
void setPcState(gear_e gear);
|
2022-04-23 04:34:39 -07:00
|
|
|
void set32State(gear_e gear);
|
|
|
|
bool isShifting = false;
|
|
|
|
gear_e shiftingFrom;
|
2022-04-06 14:37:30 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
Gm4l6xTransmissionController* getGm4l6xTransmissionController();
|
2022-04-23 04:34:39 -07:00
|
|
|
#endif // EFI_TCU
|