code style

This commit is contained in:
rusefi 2020-03-28 19:49:36 -04:00
parent bd3b616d1f
commit 99af87ccbb
3 changed files with 3 additions and 12 deletions

View File

@ -7,8 +7,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020 * @author Andrey Belomutskiy, (c) 2012-2020
*/ */
#ifndef CONTROLLERS_CORE_COMMON_HEADERS_H_ #pragma once
#define CONTROLLERS_CORE_COMMON_HEADERS_H_
#ifdef __cplusplus #ifdef __cplusplus
#define EXTERNC extern "C" #define EXTERNC extern "C"
@ -104,5 +103,3 @@ extern bool isActiveConfigurationVoid;
#endif /* EFI_ACTIVE_CONFIGURATION_IN_FLASH */ #endif /* EFI_ACTIVE_CONFIGURATION_IN_FLASH */
#define isPinOrModeChanged(pin, mode) (isConfigurationChanged(pin) || isConfigurationChanged(mode)) #define isPinOrModeChanged(pin, mode) (isConfigurationChanged(pin) || isConfigurationChanged(mode))
#endif /* CONTROLLERS_CORE_COMMON_HEADERS_H_ */

View File

@ -5,8 +5,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020 * @author Andrey Belomutskiy, (c) 2012-2020
*/ */
#ifndef ERROR_HANDLING_H_ #pragma once
#define ERROR_HANDLING_H_
#include "global.h" #include "global.h"
#include "obd_error_codes.h" #include "obd_error_codes.h"
@ -59,5 +58,3 @@ int getRusEfiVersion(void);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* ERROR_HANDLING_H_ */

View File

@ -5,8 +5,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020 * @author Andrey Belomutskiy, (c) 2012-2020
*/ */
#ifndef LOGIC_EXPRESSION_H_ #pragma once
#define LOGIC_EXPRESSION_H_
#include "rusefi_enums.h" #include "rusefi_enums.h"
#include "fl_stack.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); bool isNumeric(const char* line);
le_action_e parseAction(const char * line); le_action_e parseAction(const char * line);
bool float2bool(float v); bool float2bool(float v);
#endif /* LOGIC_EXPRESSION_H_ */