diff --git a/firmware/controllers/algo/engine.h b/firmware/controllers/algo/engine.h index 17c66c71dc..5c7eac74a6 100644 --- a/firmware/controllers/algo/engine.h +++ b/firmware/controllers/algo/engine.h @@ -4,8 +4,8 @@ * @date May 21, 2014 * @author Andrey Belomutskiy, (c) 2012-2019 */ -#ifndef H_ENGINE_H_ -#define H_ENGINE_H_ + +#pragma once #include "global.h" #include "globalaccess.h" @@ -322,5 +322,3 @@ void prepareOutputSignals(DECLARE_ENGINE_PARAMETER_SIGNATURE); void validateConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE); void doScheduleStopEngine(DECLARE_ENGINE_PARAMETER_SIGNATURE); - -#endif /* H_ENGINE_H_ */ diff --git a/firmware/controllers/sensors/analog_input.h b/firmware/controllers/sensors/analog_input.h index 35b4575402..4ca723719b 100644 --- a/firmware/controllers/sensors/analog_input.h +++ b/firmware/controllers/sensors/analog_input.h @@ -5,16 +5,6 @@ * @author Andrey Belomutskiy, (c) 2012-2017 */ -#ifndef CONTROLLERS_SENSORS_ANALOG_INPUT_H_ -#define CONTROLLERS_SENSORS_ANALOG_INPUT_H_ +#pragma once -#if EFI_PROD_CODE #include "adc_inputs.h" -#endif - -#if EFI_SIMULATOR -#include "adc_math.h" -#endif - - -#endif /* CONTROLLERS_SENSORS_ANALOG_INPUT_H_ */