This commit is contained in:
rusefi 2019-12-06 00:07:27 -05:00
parent 6c76c5fcd6
commit 28a12d9d04
2 changed files with 5 additions and 11 deletions

View File

@ -2,11 +2,10 @@
* @file trigger_structure.h * @file trigger_structure.h
* *
* @date Dec 22, 2013 * @date Dec 22, 2013
* @author Andrey Belomutskiy, (c) 2012-2018 * @author Andrey Belomutskiy, (c) 2012-2019
*/ */
#ifndef TRIGGER_STRUCTURE_H_ #pragma once
#define TRIGGER_STRUCTURE_H_
#include "state_sequence.h" #include "state_sequence.h"
#include "globalaccess.h" #include "globalaccess.h"
@ -289,5 +288,3 @@ void setToothedWheelConfiguration(TriggerShape *s, int total, int skipped, opera
#define TRIGGER_SHAPE(x) ENGINE(triggerCentral.triggerShape.x) #define TRIGGER_SHAPE(x) ENGINE(triggerCentral.triggerShape.x)
#define getTriggerSize() TRIGGER_SHAPE(privateTriggerDefinitionSize) #define getTriggerSize() TRIGGER_SHAPE(privateTriggerDefinitionSize)
#endif /* TRIGGER_STRUCTURE_H_ */

View File

@ -2,11 +2,10 @@
* @file trigger_decoder.h * @file trigger_decoder.h
* *
* @date Dec 24, 2013 * @date Dec 24, 2013
* @author Andrey Belomutskiy, (c) 2012-2017 * @author Andrey Belomutskiy, (c) 2012-2019
*/ */
#ifndef TRIGGER_DECODER_H_ #pragma once
#define TRIGGER_DECODER_H_
#include "global.h" #include "global.h"
#include "trigger_structure.h" #include "trigger_structure.h"
@ -126,7 +125,7 @@ private:
/** /**
* the reason for sub-class is simply to save RAM but not having statisics in the trigger initialization instance * the reason for sub-class is simply to save RAM but not having statistics in the trigger initialization instance
*/ */
class TriggerStateWithRunningStatistics : public TriggerState { class TriggerStateWithRunningStatistics : public TriggerState {
public: public:
@ -172,5 +171,3 @@ bool isTriggerDecoderError(void);
void calculateTriggerSynchPoint(TriggerShape *shape, TriggerState *state DECLARE_ENGINE_PARAMETER_SUFFIX); void calculateTriggerSynchPoint(TriggerShape *shape, TriggerState *state DECLARE_ENGINE_PARAMETER_SUFFIX);
#endif /* TRIGGER_DECODER_H_ */