mirror of https://github.com/FOME-Tech/fome-fw.git
code style
This commit is contained in:
parent
bd3b616d1f
commit
99af87ccbb
|
@ -7,8 +7,7 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#ifndef CONTROLLERS_CORE_COMMON_HEADERS_H_
|
||||
#define CONTROLLERS_CORE_COMMON_HEADERS_H_
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define EXTERNC extern "C"
|
||||
|
@ -104,5 +103,3 @@ extern bool isActiveConfigurationVoid;
|
|||
#endif /* EFI_ACTIVE_CONFIGURATION_IN_FLASH */
|
||||
|
||||
#define isPinOrModeChanged(pin, mode) (isConfigurationChanged(pin) || isConfigurationChanged(mode))
|
||||
|
||||
#endif /* CONTROLLERS_CORE_COMMON_HEADERS_H_ */
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#ifndef ERROR_HANDLING_H_
|
||||
#define ERROR_HANDLING_H_
|
||||
#pragma once
|
||||
|
||||
#include "global.h"
|
||||
#include "obd_error_codes.h"
|
||||
|
@ -59,5 +58,3 @@ int getRusEfiVersion(void);
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* ERROR_HANDLING_H_ */
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#ifndef LOGIC_EXPRESSION_H_
|
||||
#define LOGIC_EXPRESSION_H_
|
||||
#pragma once
|
||||
|
||||
#include "rusefi_enums.h"
|
||||
#include "fl_stack.h"
|
||||
|
@ -135,5 +134,3 @@ const char *getNextToken(const char *line, char *buffer, const int bufferSize);
|
|||
bool isNumeric(const char* line);
|
||||
le_action_e parseAction(const char * line);
|
||||
bool float2bool(float v);
|
||||
|
||||
#endif /* LOGIC_EXPRESSION_H_ */
|
||||
|
|
Loading…
Reference in New Issue