this code is too dead
This commit is contained in:
parent
9e02d2b8f7
commit
fb3343dff5
|
@ -304,12 +304,6 @@ public:
|
||||||
|
|
||||||
bool slowCallBackWasInvoked = false;
|
bool slowCallBackWasInvoked = false;
|
||||||
|
|
||||||
/**
|
|
||||||
* remote telemetry: if not zero, time to stop flashing 'CALL FROM PIT STOP' light
|
|
||||||
* todo: looks like there is a bug here? 64 bit storage an 32 bit time logic? anyway this feature is mostly a dream at this point
|
|
||||||
*/
|
|
||||||
efitimems64_t callFromPitStopEndTime = 0;
|
|
||||||
|
|
||||||
RpmCalculator rpmCalculator;
|
RpmCalculator rpmCalculator;
|
||||||
|
|
||||||
bool startStopState = false;
|
bool startStopState = false;
|
||||||
|
|
|
@ -495,13 +495,6 @@ void executeTSCommand(uint16_t subsystem, uint16_t index) {
|
||||||
#endif /* EFI_CJ125 */
|
#endif /* EFI_CJ125 */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TS_CRAZY:
|
|
||||||
if (index == 0x3456) {
|
|
||||||
// call to pit
|
|
||||||
setCallFromPitStop(30000);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
case TS_X30:
|
case TS_X30:
|
||||||
fatalErrorForPresetApply();
|
fatalErrorForPresetApply();
|
||||||
setEngineType(index);
|
setEngineType(index);
|
||||||
|
|
|
@ -242,10 +242,6 @@ static void printTemperatureInfo() {
|
||||||
#endif /* EFI_ANALOG_SENSORS */
|
#endif /* EFI_ANALOG_SENSORS */
|
||||||
}
|
}
|
||||||
|
|
||||||
void setCallFromPitStop(int durationMs) {
|
|
||||||
engine->callFromPitStopEndTime = currentTimeMillis() + durationMs;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void setCrankingRpm(int value) {
|
static void setCrankingRpm(int value) {
|
||||||
engineConfiguration->cranking.rpm = value;
|
engineConfiguration->cranking.rpm = value;
|
||||||
doPrintConfiguration();
|
doPrintConfiguration();
|
||||||
|
@ -1011,7 +1007,6 @@ static void setTpsErrorDetectionTooHigh(int v) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const command_i_s commandsI[] = {{"ignition_mode", setIgnitionMode},
|
const command_i_s commandsI[] = {{"ignition_mode", setIgnitionMode},
|
||||||
{"call_from_pitstop", setCallFromPitStop},
|
|
||||||
#if EFI_ENGINE_CONTROL
|
#if EFI_ENGINE_CONTROL
|
||||||
{"cranking_rpm", setCrankingRpm},
|
{"cranking_rpm", setCrankingRpm},
|
||||||
{"cranking_injection_mode", setCrankingInjectionMode},
|
{"cranking_injection_mode", setCrankingInjectionMode},
|
||||||
|
|
|
@ -14,7 +14,7 @@ void initSettings(void);
|
||||||
void printSpiState(const engine_configuration_s *engineConfiguration);
|
void printSpiState(const engine_configuration_s *engineConfiguration);
|
||||||
void printConfiguration(const engine_configuration_s *engineConfiguration);
|
void printConfiguration(const engine_configuration_s *engineConfiguration);
|
||||||
void scheduleStopEngine(void);
|
void scheduleStopEngine(void);
|
||||||
void setCallFromPitStop(int durationMs);
|
|
||||||
void printTPSInfo(void);
|
void printTPSInfo(void);
|
||||||
void setEngineType(int value);
|
void setEngineType(int value);
|
||||||
void readPin(const char *pinName);
|
void readPin(const char *pinName);
|
||||||
|
|
Loading…
Reference in New Issue