diff --git a/firmware/controllers/trigger/decoders/trigger_structure.h b/firmware/controllers/trigger/decoders/trigger_structure.h index bbb820b41e..a8d553a113 100644 --- a/firmware/controllers/trigger/decoders/trigger_structure.h +++ b/firmware/controllers/trigger/decoders/trigger_structure.h @@ -2,11 +2,10 @@ * @file trigger_structure.h * * @date Dec 22, 2013 - * @author Andrey Belomutskiy, (c) 2012-2018 + * @author Andrey Belomutskiy, (c) 2012-2019 */ -#ifndef TRIGGER_STRUCTURE_H_ -#define TRIGGER_STRUCTURE_H_ +#pragma once #include "state_sequence.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 getTriggerSize() TRIGGER_SHAPE(privateTriggerDefinitionSize) - -#endif /* TRIGGER_STRUCTURE_H_ */ diff --git a/firmware/controllers/trigger/trigger_decoder.h b/firmware/controllers/trigger/trigger_decoder.h index c9f69c52d1..add3241602 100644 --- a/firmware/controllers/trigger/trigger_decoder.h +++ b/firmware/controllers/trigger/trigger_decoder.h @@ -2,11 +2,10 @@ * @file trigger_decoder.h * * @date Dec 24, 2013 - * @author Andrey Belomutskiy, (c) 2012-2017 + * @author Andrey Belomutskiy, (c) 2012-2019 */ -#ifndef TRIGGER_DECODER_H_ -#define TRIGGER_DECODER_H_ +#pragma once #include "global.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 { public: @@ -172,5 +171,3 @@ bool isTriggerDecoderError(void); void calculateTriggerSynchPoint(TriggerShape *shape, TriggerState *state DECLARE_ENGINE_PARAMETER_SUFFIX); - -#endif /* TRIGGER_DECODER_H_ */