code style
This commit is contained in:
parent
a53d9c587a
commit
6e128a341b
|
@ -5,8 +5,7 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#ifndef CONTROLLERS_OBD2_H_
|
||||
#define CONTROLLERS_OBD2_H_
|
||||
#pragma once
|
||||
|
||||
#include "global.h"
|
||||
|
||||
|
@ -41,4 +40,3 @@
|
|||
void obdOnCanPacketRx(CANRxFrame *rx);
|
||||
#endif /* HAL_USE_CAN */
|
||||
|
||||
#endif /* CONTROLLERS_OBD2_H_ */
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#ifndef SETTINGS_H_
|
||||
#define SETTINGS_H_
|
||||
#pragma once
|
||||
|
||||
#include "engine.h"
|
||||
|
||||
|
@ -23,4 +22,3 @@ void setEngineType(int value);
|
|||
*/
|
||||
const char* getConfigurationName(engine_type_e engineType);
|
||||
|
||||
#endif /* SETTINGS_H_ */
|
||||
|
|
|
@ -12,8 +12,7 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#ifndef GLOBAL_H_
|
||||
#define GLOBAL_H_
|
||||
#pragma once
|
||||
|
||||
// todo: remove this from here and rely on os_access.h. unfortunately hal.h includes ch.h :(
|
||||
#include <hal.h>
|
||||
|
@ -120,5 +119,3 @@ void unlockAnyContext(void);
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* GLOBAL_H_ */
|
||||
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#ifndef HIP9011_H_
|
||||
#define HIP9011_H_
|
||||
#pragma once
|
||||
|
||||
|
||||
// 0b01110001
|
||||
|
@ -28,4 +27,4 @@ void setPrescalerAndSDO(int value);
|
|||
void setKnockThresh(float value);
|
||||
void setMaxKnockSubDeg(int value);
|
||||
|
||||
#endif /* HIP9011_H_ */
|
||||
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#ifndef HW_LAYER_HIP9011_LOGIC_H_
|
||||
#define HW_LAYER_HIP9011_LOGIC_H_
|
||||
#pragma once
|
||||
|
||||
#include "efifeatures.h"
|
||||
#include "rusefi_enums.h"
|
||||
|
@ -115,4 +114,3 @@ int getHip9011GainIndex(DEFINE_HIP_PARAMS);
|
|||
|
||||
#define _8MHZ_PRESCALER 6
|
||||
|
||||
#endif /* HW_LAYER_HIP9011_LOGIC_H_ */
|
||||
|
|
|
@ -5,10 +5,8 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#ifndef RUSEFI_H_
|
||||
#define RUSEFI_H_
|
||||
#pragma once
|
||||
|
||||
void runRusEfi(void);
|
||||
void rebootNow(void);
|
||||
|
||||
#endif /* RUSEFI_H_ */
|
||||
|
|
Loading…
Reference in New Issue