code style
This commit is contained in:
parent
d770290d0e
commit
ff663692c0
|
@ -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_ */
|
||||
|
|
|
@ -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_ */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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_ */
|
||||
|
|
Loading…
Reference in New Issue