removing one dead line
This commit is contained in:
parent
f745d39a94
commit
95fa4c78c4
|
@ -4,11 +4,10 @@
|
|||
*
|
||||
*
|
||||
* @date Feb 9, 2013
|
||||
* @author Andrey Belomutskiy, (c) 2012-2017
|
||||
* @author Andrey Belomutskiy, (c) 2012-2019
|
||||
*/
|
||||
|
||||
#ifndef MAIN_LOOP_H_
|
||||
#define MAIN_LOOP_H_
|
||||
#pragma once
|
||||
|
||||
#include "engine.h"
|
||||
|
||||
|
@ -27,9 +26,5 @@ void endSimultaniousInjection(InjectionEvent *event);
|
|||
void seTurnPinHigh(InjectionEvent *event);
|
||||
void seTurnPinLow(InjectionEvent *event);
|
||||
|
||||
float getFuel(int rpm, float key);
|
||||
|
||||
// reset injection switch counter if the engine started spinning
|
||||
void updatePrimeInjectionPulseState(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||
|
||||
#endif /* MAIN_LOOP_H_ */
|
||||
|
|
|
@ -315,6 +315,7 @@ static void tdcMarkCallback(trigger_event_e ckpSignalType,
|
|||
(void) ckpSignalType;
|
||||
bool isTriggerSynchronizationPoint = index0 == 0;
|
||||
if (isTriggerSynchronizationPoint && ENGINE(isEngineChartEnabled)) {
|
||||
// two instances of scheduling_s are needed to properly handle event overlap
|
||||
int revIndex2 = getRevolutionCounter() % 2;
|
||||
int rpm = GET_RPM();
|
||||
// todo: use tooth event-based scheduling, not just time-based scheduling
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
* @brief Shaft position sensor(s) decoder header
|
||||
*
|
||||
* @date Jan 1, 2013
|
||||
* @author Andrey Belomutskiy, (c) 2012-2017
|
||||
* @author Andrey Belomutskiy, (c) 2012-2019
|
||||
*/
|
||||
|
||||
#ifndef RPM_REPORTER_H_
|
||||
#define RPM_REPORTER_H_
|
||||
#pragma once
|
||||
|
||||
#include "globalaccess.h"
|
||||
#include "scheduler.h"
|
||||
|
@ -168,4 +167,3 @@ float getCrankshaftAngleNt(efitick_t timeNt DECLARE_ENGINE_PARAMETER_SUFFIX);
|
|||
|
||||
void scheduleByAngle(scheduling_s *timer, angle_t angle, schfunc_t callback, void *param DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||
|
||||
#endif /* RPM_REPORTER_H_ */
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @file spark_logic.h
|
||||
*
|
||||
* @date Sep 15, 2016
|
||||
* @author Andrey Belomutskiy, (c) 2012-2017
|
||||
* @author Andrey Belomutskiy, (c) 2012-2019
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
|
Loading…
Reference in New Issue