This commit is contained in:
rusefi 2020-08-08 23:56:42 -04:00
parent f2107dd5ba
commit 3a233f0b76
2 changed files with 4 additions and 0 deletions

View File

@ -1065,6 +1065,8 @@ static void getValue(const char *paramStr) {
scheduleMsg(&logger, "tps_max=%d", engineConfiguration->tpsMax);
} else if (strEqualCaseInsensitive(paramStr, "global_trigger_offset_angle")) {
scheduleMsg(&logger, "global_trigger_offset=%.2f", engineConfiguration->globalTriggerAngleOffset);
} else if (strEqualCaseInsensitive(paramStr, "trigger_hw_input")) {
scheduleMsg(&logger, "trigger_hw_input=%s", boolToString(engineConfiguration->trigger_hw_input));
} else if (strEqualCaseInsensitive(paramStr, "is_enabled_spi_1")) {
scheduleMsg(&logger, "is_enabled_spi_1=%s", boolToString(engineConfiguration->is_enabled_spi_1));
} else if (strEqualCaseInsensitive(paramStr, "is_enabled_spi_2")) {

View File

@ -84,8 +84,10 @@ public class AutoTest extends BaseTest {
private void testV12() {
sendCommand(getDisableCommand(Fields.CMD_SELF_STIMULATION));
sendCommand("get " + Fields.CMD_TRIGGER_HW_INPUT);
sleep(3 * Timeouts.SECOND);
setEngineType(40);
sendCommand("get " + Fields.CMD_TRIGGER_HW_INPUT);
sendCommand(getDisableCommand(Fields.CMD_TRIGGER_HW_INPUT));
sendCommand(getEnableCommand(Fields.CMD_SELF_STIMULATION));
changeRpm(700);