reducing code duplication
This commit is contained in:
parent
553820ecc8
commit
785b8b97db
|
@ -345,9 +345,9 @@ void initBenchTest(Logging *sharedLogger) {
|
|||
addConsoleActionS("fanbench2", fanBenchExt);
|
||||
addConsoleAction("dizzybench", dizzyBench); // this is useful for tach output testing
|
||||
|
||||
addConsoleAction("starterbench", starterRelayBench);
|
||||
addConsoleAction("milbench", milBench);
|
||||
addConsoleActionSSS("fuelbench", fuelbench);
|
||||
addConsoleAction(CMD_STARTER_BENCH, starterRelayBench);
|
||||
addConsoleAction(CMD_MIL_BENCH, milBench);
|
||||
addConsoleActionSSS(CMD_FUEL_BENCH, fuelbench);
|
||||
addConsoleActionSSS("sparkbench", sparkbench);
|
||||
|
||||
addConsoleActionSSSSS("fuelbench2", fuelbench2);
|
||||
|
|
|
@ -1581,6 +1581,9 @@ end_struct
|
|||
#define ENGINE_MAKE_MERCEDES "Mercedes"
|
||||
|
||||
|
||||
#define CMD_MIL_BENCH "milbench"
|
||||
#define CMD_FUEL_BENCH "fuelbench"
|
||||
#define CMD_STARTER_BENCH "starterbench"
|
||||
#define CMD_PINS "pins"
|
||||
#define CMD_CALIBRATE_PEDAL_UP "calibrate_pedal_up"
|
||||
#define CMD_CALIBRATE_PEDAL_DOWN "calibrate_pedal_down"
|
||||
|
|
Loading…
Reference in New Issue