From 4e49f72ff1f7771e8bcba28817faa329dac6f015 Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 15 May 2017 22:02:49 -0400 Subject: [PATCH] removing unused --- .../trigger/main_trigger_callback.cpp | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/firmware/controllers/trigger/main_trigger_callback.cpp b/firmware/controllers/trigger/main_trigger_callback.cpp index c15bcb8e82..e9b8419630 100644 --- a/firmware/controllers/trigger/main_trigger_callback.cpp +++ b/firmware/controllers/trigger/main_trigger_callback.cpp @@ -339,34 +339,6 @@ static ALWAYS_INLINE void handleFuelInjectionEvent(int injEventIndex, InjectionE } } -/** - * - * @param delay the number of ticks before the output signal - * immediate output if delay is zero - * @param dwell the number of ticks of output duration - * - */ -static void scheduleOutput2(OutputSignalPair *pair, efitimeus_t nowUs, float delayUs, float durationUs, InjectorOutputPin *output) { -#if EFI_GPIO_HARDWARE || defined(__DOXYGEN__) - -#if EFI_UNIT_TEST || defined(__DOXYGEN__) - printf("scheduling output %s\r\n", output->name); -#endif /* EFI_UNIT_TEST */ - - efitimeus_t turnOnTime = nowUs + (int) delayUs; - - scheduling_s *sUp = &pair->signalTimerUp; - pair->isScheduled = true; - scheduling_s *sDown = &pair->signalTimerDown; - - pair->outputs[0] = output; - seScheduleByTime(sUp, turnOnTime, (schfunc_t) &seTurnPinHigh, pair); - efitimeus_t turnOffTime = nowUs + (int) (delayUs + durationUs); - - seScheduleByTime(sDown, turnOffTime, (schfunc_t) &seTurnPinLow, pair); -#endif /* EFI_GPIO_HARDWARE */ -} - static void fuelClosedLoopCorrection(DECLARE_ENGINE_PARAMETER_F) { #if ! EFI_UNIT_TEST if (ENGINE(rpmCalculator.rpmValue) < CONFIG(fuelClosedLoopRpmThreshold) ||