refactoring

This commit is contained in:
rusefi 2019-07-08 18:02:21 -04:00
parent 34acd20833
commit ff4b56504f
3 changed files with 5 additions and 13 deletions

View File

@ -5,8 +5,8 @@
* @author Andrey Belomutskiy, (c) 2012-2019
*/
#ifndef CONTROLLERS_MATH_CONFIG_ENGINE_SPECS_H_
#define CONTROLLERS_MATH_CONFIG_ENGINE_SPECS_H_
#pragma once
#include "global.h"
@ -39,4 +39,3 @@
#define get_specs_cylindersCount CONFIG_ACCESS_FOR_CONFIG_HEADER_ONLY(specs.cylindersCount)
#define get_injector_flow CONFIG_ACCESS_FOR_CONFIG_HEADER_ONLY(injector.flow)
#endif /* CONTROLLERS_MATH_CONFIG_ENGINE_SPECS_H_ */

View File

@ -5,8 +5,7 @@
* @author Andrey Belomutskiy, (c) 2012-2017
*/
#ifndef ENGINE_MATH_H_
#define ENGINE_MATH_H_
#pragma once
#include "engine_configuration.h"
@ -69,5 +68,3 @@ void setSingleCoilDwell(engine_configuration_s *engineConfiguration);
// while for toothed wheels user would have to provide a value
#define tdcPosition() \
(ENGINE(triggerCentral.triggerShape.tdcPosition) + CONFIG(globalTriggerAngleOffset))
#endif /* ENGINE_MATH_H_ */

View File

@ -9,8 +9,8 @@
* @author Andrey Belomutskiy, (c) 2012-2017
*/
#ifndef CONTROLLERS_MATH_PID_AUTO_TUNE_H_
#define CONTROLLERS_MATH_PID_AUTO_TUNE_H_
#pragma once
#include "global.h"
@ -186,7 +186,3 @@ private:
#endif
};
#endif /* CONTROLLERS_MATH_PID_AUTO_TUNE_H_ */