code style
This commit is contained in:
parent
551273a336
commit
cb8612a15c
|
@ -3,8 +3,8 @@
|
|||
* https://github.com/wdalmut/libgps/tree/develop/src
|
||||
*
|
||||
*/
|
||||
#ifndef _NMEA_H_
|
||||
#define _NMEA_H_
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
|
@ -54,4 +54,3 @@ void gps_location(loc_t *, char *);
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#ifndef OBD_ERROR_CODES_H_
|
||||
#define OBD_ERROR_CODES_H_
|
||||
#pragma once
|
||||
|
||||
// this header should not depend on anything - actually chconf.h usually depends on this header
|
||||
|
||||
|
@ -2118,5 +2117,3 @@ typedef enum {
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#endif /* OBD_ERROR_CODES_H_ */
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#ifndef RUSEFI_HW_ENUMS_H_
|
||||
#define RUSEFI_HW_ENUMS_H_
|
||||
#pragma once
|
||||
|
||||
// todo: migrate/unify with pin_output_mode_e? rename? something is messy here
|
||||
// this enum is currently only used for SPI pins
|
||||
|
@ -282,4 +281,3 @@ typedef enum __attribute__ ((__packed__)) {
|
|||
|
||||
#define INCOMPATIBLE_CONFIG_CHANGE EFI_ADC_0
|
||||
|
||||
#endif /* RUSEFI_HW_ENUMS_H_ */
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
* @author Andrey Gusakov <dron0gus@gmail.com>, (c) 2020
|
||||
*/
|
||||
|
||||
#ifndef HW_LAYER_MC33810_H_
|
||||
#define HW_LAYER_MC33810_H_
|
||||
#pragma once
|
||||
|
||||
#include "efifeatures.h"
|
||||
#include <hal.h>
|
||||
|
@ -47,4 +46,3 @@ int mc33810_add(unsigned int index, const struct mc33810_config *cfg);
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* HW_LAYER_MC33810_H_ */
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
* @author Andrey Gusakov <dron0gus@gmail.com>, (c) 2019
|
||||
*/
|
||||
|
||||
#ifndef HW_LAYER_MC33972_H_
|
||||
#define HW_LAYER_MC33972_H_
|
||||
#pragma once
|
||||
|
||||
#include <hal.h>
|
||||
#include "efifeatures.h"
|
||||
|
@ -34,4 +33,3 @@ int mc33972_add(unsigned int index, const struct mc33972_config *cfg);
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* HW_LAYER_MC33972_H_ */
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#ifndef HW_LAYER_TLE6240_H_
|
||||
#define HW_LAYER_TLE6240_H_
|
||||
#pragma once
|
||||
|
||||
#include "efifeatures.h"
|
||||
#include <hal.h>
|
||||
|
@ -43,4 +42,3 @@ int tle6240_add(unsigned int index, const struct tle6240_config *cfg);
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* HW_LAYER_TLE6240_H_ */
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#ifndef HW_LAYER_DRIVERS_GPIO_TLE8888_H_
|
||||
#define HW_LAYER_DRIVERS_GPIO_TLE8888_H_
|
||||
#pragma once
|
||||
|
||||
#include "global.h"
|
||||
|
||||
|
@ -62,4 +61,3 @@ void tle8888PostState(TsDebugChannels *tsDebugChannels);
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* HW_LAYER_DRIVERS_GPIO_TLE8888_H_ */
|
||||
|
|
Loading…
Reference in New Issue