code style

This commit is contained in:
rusefi 2020-03-23 22:31:24 -04:00
parent 63c3ae1b51
commit c0e141026c
4 changed files with 6 additions and 12 deletions

View File

@ -7,8 +7,8 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*
*/
#ifndef ALTERNATORCONTROLLER_H_
#define ALTERNATORCONTROLLER_H_
#pragma once
#include "engine.h"
void initAlternatorCtrl(Logging *sharedLogger);
@ -19,5 +19,3 @@ void showAltInfo(void);
void setDefaultAlternatorParameters(DECLARE_CONFIG_PARAMETER_SIGNATURE);
void onConfigurationChangeAlternatorCallback(engine_configuration_s *previousConfiguration);
#endif /* ALTERNATORCONTROLLER_H_ */

View File

@ -5,8 +5,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#ifndef CONTROLLERS_ALGO_AUX_PID_H_
#define CONTROLLERS_ALGO_AUX_PID_H_
#pragma once
#include "global.h"
@ -14,4 +13,3 @@ void initAuxPid(Logging *sharedLogger);
void startAuxPins(void);
void stopAuxPins(void);
#endif /* CONTROLLERS_ALGO_AUX_PID_H_ */

View File

@ -17,7 +17,7 @@
class DcMotor;
class Logging;
class IEtbController : public PeriodicTimerController{
class IEtbController : public PeriodicTimerController {
public:
DECLARE_ENGINE_PTR;
virtual void init(DcMotor *motor, int ownIndex, pid_s *pidParameters) = 0;

View File

@ -4,9 +4,7 @@
* @date Apr 29, 2014
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#ifndef PWMTESTER_H_
#define PWMTESTER_H_
#pragma once
void initPwmTester(void);
#endif /* PWMTESTER_H_ */