diff --git a/firmware/config/engines/custom_engine.cpp b/firmware/config/engines/custom_engine.cpp index 864333d7f9..f9cc6549f4 100644 --- a/firmware/config/engines/custom_engine.cpp +++ b/firmware/config/engines/custom_engine.cpp @@ -28,39 +28,6 @@ #include "scheduler.h" #endif /* EFI_PROD_CODE */ -#if EFI_PROD_CODE -static int periodIndex = 0; - -static OutputPin testPin; -static scheduling_s testScheduling; - -static int test557[] = {5, 5, 10, 10, 20, 20, 50, 50, 100, 100, 200, 200, 500, 500, 500, 500}; -#define TEST_LEN 16 - -efitimeus_t testTime; - -static void toggleTestAndScheduleNext(void *) { - testPin.toggle(); - periodIndex = (periodIndex + 1) % TEST_LEN; - testTime += test557[periodIndex]; - engine->executor.scheduleByTimestamp("test", &testScheduling, testTime, &toggleTestAndScheduleNext); -} - -/** - * https://github.com/rusefi/rusefi/issues/557 common rail / direct injection scheduling control test - */ -void runSchedulingPrecisionTestIfNeeded(void) { - if (!isBrainPinValid(engineConfiguration->test557pin)) { - return; - } - - testPin.initPin("test", engineConfiguration->test557pin); - testPin.setValue(0); - testTime = getTimeNowUs(); - toggleTestAndScheduleNext(/*unused*/ nullptr); -} -#endif /* EFI_PROD_CODE */ - void setDiscoveryPdm() { } diff --git a/firmware/config/engines/custom_engine.h b/firmware/config/engines/custom_engine.h index f03146353e..eac25c01bc 100644 --- a/firmware/config/engines/custom_engine.h +++ b/firmware/config/engines/custom_engine.h @@ -9,7 +9,6 @@ #include "engine_configuration.h" void setFrankensoConfiguration(); -void runSchedulingPrecisionTestIfNeeded(void); void setDiscoveryPdm(); void setFrankensoBoardTestConfiguration(); void setEtbTestConfiguration(); diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index df774e4320..5b29da04cc 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -744,7 +744,7 @@ output_pin_e acFanPin;Optional Radiator Fan used with A/C Gpio[EGT_CHANNEL_COUNT iterate] max31855_cs; brain_input_pin_e flexSensorPin;Continental/GM flex fuel sensor, 50-150hz type; - Gpio test557pin + uint16_t unused720 pin_output_mode_e stepperDirectionPinMode; spi_device_e mc33972spiDevice; diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index 7837df6037..6cbaef006a 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -290,8 +290,6 @@ void runRusEfiWithConfig() { // This has to happen after RegisteredOutputPins are init'd: otherwise no change will be detected, and no init will happen rememberCurrentConfiguration(); - - runSchedulingPrecisionTestIfNeeded(); } } diff --git a/firmware/tunerstudio/tunerstudio.template.ini b/firmware/tunerstudio/tunerstudio.template.ini index 6dd024e782..dd9a52e65e 100644 --- a/firmware/tunerstudio/tunerstudio.template.ini +++ b/firmware/tunerstudio/tunerstudio.template.ini @@ -2920,7 +2920,6 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_ field = "ETB#2 Disable", etbIo2_disablePin @@if_ts_show_etb_pins field = "SD CS Pin", sdCardCsPin @@if_ts_show_sd_card field = "MIL/Check Engine output", malfunctionIndicatorPin - field = "test557pin", test557pin field = "Fan Pin", fanPin field = "A/C Relay", acRelayPin field = "Main Relay Pin", mainRelayPin