acRelayBench
This commit is contained in:
parent
4a2505e2d1
commit
66b3ae000d
|
@ -187,6 +187,10 @@ void fuelPumpBenchExt(const char *durationMs) {
|
||||||
pinbench("0", durationMs, "100", "1", &enginePins.fuelPumpRelay, CONFIGB(fuelPumpPin));
|
pinbench("0", durationMs, "100", "1", &enginePins.fuelPumpRelay, CONFIGB(fuelPumpPin));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void acRelayBench(void) {
|
||||||
|
pinbench("0", "1000", "100", "1", &enginePins.acRelay, CONFIGB(acRelayPin));
|
||||||
|
}
|
||||||
|
|
||||||
void fuelPumpBench(void) {
|
void fuelPumpBench(void) {
|
||||||
fuelPumpBenchExt("3000");
|
fuelPumpBenchExt("3000");
|
||||||
}
|
}
|
||||||
|
@ -281,6 +285,9 @@ static void handleCommandX14(uint16_t index) {
|
||||||
requestTLE8888initialization();
|
requestTLE8888initialization();
|
||||||
#endif
|
#endif
|
||||||
return;
|
return;
|
||||||
|
case 9:
|
||||||
|
acRelayBench();
|
||||||
|
return;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -341,6 +348,7 @@ void initInjectorCentral(Logging *sharedLogger) {
|
||||||
addConsoleActionII("injector", setInjectorEnabled);
|
addConsoleActionII("injector", setInjectorEnabled);
|
||||||
|
|
||||||
addConsoleAction("fuelpumpbench", fuelPumpBench);
|
addConsoleAction("fuelpumpbench", fuelPumpBench);
|
||||||
|
addConsoleAction("acrelaybench", acRelayBench);
|
||||||
addConsoleActionS("fuelpumpbench2", fuelPumpBenchExt);
|
addConsoleActionS("fuelpumpbench2", fuelPumpBenchExt);
|
||||||
addConsoleAction("fanbench", fanBench);
|
addConsoleAction("fanbench", fanBench);
|
||||||
addConsoleActionS("fanbench2", fanBenchExt);
|
addConsoleActionS("fanbench2", fanBenchExt);
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
void fanBench(void);
|
void fanBench(void);
|
||||||
void fuelPumpBench(void);
|
void fuelPumpBench(void);
|
||||||
|
void acRelayBench(void);
|
||||||
void milBench(void);
|
void milBench(void);
|
||||||
void initInjectorCentral(Logging *sharedLogger);
|
void initInjectorCentral(Logging *sharedLogger);
|
||||||
bool isRunningBenchTest(void);
|
bool isRunningBenchTest(void);
|
||||||
|
|
Loading…
Reference in New Issue