This commit is contained in:
rusefi 2020-08-19 22:03:27 -04:00
parent bf165f94f9
commit ceeba4d677
2 changed files with 13 additions and 1 deletions

View File

@ -269,6 +269,12 @@ void setEngineBMW_M73_Proteus(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
strcpy(CONFIG(vehicleName), "Using Proteus");
// GPIOE_7: "VR 1"
engineConfiguration->triggerInputPins[0] = GPIOE_7;
// GPIOE_11: "Digital 2"
engineConfiguration->camInputs[0] = GPIOE_11;
// set vbatt_divider 8.16
// engineConfiguration->vbattDividerCoeff = (49.0f / 10.0f) * 16.8f / 10.0f;
// todo: figure out exact values from TLE8888 breakout board used by Manhattan

View File

@ -39,6 +39,7 @@ public class BenchTestPane {
content.add(createInjectorTest());
content.add(createMILTest());
content.add(createIdleTest());
content.add(createStarterTest());
content.add(createDizzyTest());
content.add(new CommandControl(uiContext, "Reboot", "", "Reboot") {
@Override
@ -89,7 +90,7 @@ public class BenchTestPane {
CommandControl panel = new CommandControl(uiContext,"MIL", "check_engine.jpg", TEST) {
@NotNull
protected String getCommand() {
return "milbench";
return Fields.CMD_MIL_BENCH;
}
};
return panel.getContent();
@ -110,6 +111,11 @@ public class BenchTestPane {
return panel.getContent();
}
private Component createStarterTest() {
CommandControl panel = new FixedCommandControl(uiContext, "Starter", "", TEST, Fields.CMD_STARTER_BENCH);
return panel.getContent();
}
private Component createFanTest() {
CommandControl panel = new FixedCommandControl(uiContext, "Radiator Fan", "radiator_fan.jpg", TEST, "fanbench");
return panel.getContent();