HW_CHECK_SPARK_FSIO
This commit is contained in:
parent
7f40362012
commit
2fac4cd732
|
@ -2,7 +2,7 @@
|
|||
|
||||
export PROJECT_BOARD=proteus
|
||||
export PROJECT_CPU=ARCH_STM32F4
|
||||
export EXTRA_PARAMS="-DVR_HW_CHECK_MODE=TRUE -DSHORT_BOARD_NAME=proteus_f4"
|
||||
export EXTRA_PARAMS="-DVR_HW_CHECK_MODE=TRUE -DHW_CHECK_SPARK_FSIO=TRUE -DSHORT_BOARD_NAME=proteus_f4"
|
||||
|
||||
export DEFAULT_ENGINE_TYPE=-DDEFAULT_ENGINE_TYPE=PROTEUS_QC_TEST_BOARD
|
||||
|
||||
|
|
|
@ -67,7 +67,9 @@ static void fireSparkBySettingPinLow(IgnitionEvent *event, IgnitionOutputPin *ou
|
|||
warning(CUSTOM_OUT_OF_ORDER_COIL, "out-of-order coil off %s", output->getName());
|
||||
output->outOfOrder = true;
|
||||
}
|
||||
|
||||
#if HW_CHECK_SPARK_FSIO
|
||||
enginePins.fsioOutputs[event->cylinderIndex].setValue(0);
|
||||
#endif // HW_CHECK_SPARK_FSIO
|
||||
output->setLow();
|
||||
}
|
||||
|
||||
|
@ -241,6 +243,9 @@ static void startDwellByTurningSparkPinHigh(IgnitionEvent *event, IgnitionOutput
|
|||
}
|
||||
}
|
||||
|
||||
#if HW_CHECK_SPARK_FSIO
|
||||
enginePins.fsioOutputs[event->cylinderIndex].setValue(1);
|
||||
#endif // HW_CHECK_SPARK_FSIO
|
||||
output->setHigh();
|
||||
}
|
||||
|
||||
|
|
|
@ -1570,10 +1570,6 @@ cmd_test_spk9 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x09"
|
|||
cmd_test_spk10 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x0a"
|
||||
cmd_test_spk11 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x0b"
|
||||
cmd_test_spk12 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x0c"
|
||||
cmd_test_spk13 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x0d"
|
||||
cmd_test_spk14 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x0e"
|
||||
cmd_test_spk15 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x0f"
|
||||
cmd_test_spk16 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x10"
|
||||
|
||||
cmd_test_fsio1 = "@@TS_IO_TEST_COMMAND_char@@@@CMD_TS_FSIO_CATEGORY_16_hex@@\x00\x01"
|
||||
cmd_test_fsio2 = "@@TS_IO_TEST_COMMAND_char@@@@CMD_TS_FSIO_CATEGORY_16_hex@@\x00\x02"
|
||||
|
|
Loading…
Reference in New Issue