code style

This commit is contained in:
rusefi 2020-02-13 23:25:09 -05:00
parent 333a7a6608
commit f020a0b0a1
7 changed files with 8 additions and 26 deletions

View File

@ -5,9 +5,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#ifndef ADC_INPUTS_H_
#define ADC_INPUTS_H_
#pragma once
#include "adc_math.h"
#endif /* ADC_INPUTS_H_ */

View File

@ -1,6 +1,5 @@
#ifndef BOARDS_FT_H_
#define BOARDS_FT_H_
#pragma once
#define ADC_LOGIC_TPS 0
#define ADC_LOGIC_AFR 0
@ -52,4 +51,3 @@ extern "C"
}
#endif /* __cplusplus */
#endif /* BOARDS_FT_H_ */

View File

@ -5,8 +5,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#ifndef EFIFEATURES_H_
#define EFIFEATURES_H_
#pragma once
#include "rusefi_true.h"
@ -147,6 +146,3 @@
#define EFI_BOARD_TEST FALSE
#define EFI_JOYSTICK FALSE
#endif /* EFIFEATURES_H_ */

View File

@ -4,8 +4,8 @@
* @date Sep 25, 2014
* @author Andrey Belomutskiy, (c) 2012-2014
*/
#ifndef FRAMEWORK_H_
#define FRAMEWORK_H_
#pragma once
#ifdef __cplusplus
extern "C"
@ -18,4 +18,3 @@ void initTestStream(BaseChannel *ts);
}
#endif /* __cplusplus */
#endif /* FRAMEWORK_H_ */

View File

@ -7,8 +7,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#ifndef GLOBAL_H_
#define GLOBAL_H_
#pragma once
#include <hal.h>
@ -78,6 +77,3 @@ void applyNewConfiguration(void);
#define hal_lld_get_counter_value() 0
#endif /* GLOBAL_H_ */

View File

@ -7,8 +7,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#ifndef OS_ACCESS_H_
#define OS_ACCESS_H_
#pragma once
#ifdef __cplusplus
extern "C"
@ -24,4 +23,3 @@ extern "C"
#define HAS_OS_ACCESS
#endif /* OS_ACCESS_H_ */

View File

@ -5,8 +5,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#ifndef RUSEFIFUNCTIONALTEST_H_
#define RUSEFIFUNCTIONALTEST_H_
#pragma once
#ifdef __cplusplus
extern "C"
@ -20,5 +19,3 @@ void logMsg(const char *fmt, ...);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* RUSEFIFUNCTIONALTEST_H_ */