3 hours of my life :(
This commit is contained in:
parent
8c3934a7b3
commit
af5a4c50f5
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* rusefi_true.h
|
||||
*
|
||||
* @date Dec 8, 2018
|
||||
* @author Andrey Belomutskiy, (c) 2012-2018
|
||||
*/
|
||||
|
||||
#ifndef CONTROLLERS_ALGO_RUSEFI_TRUE_H_
|
||||
#define CONTROLLERS_ALGO_RUSEFI_TRUE_H_
|
||||
|
||||
// we still have a minor mess with headers, this header should better be included as high as possible
|
||||
|
||||
#ifndef FALSE
|
||||
#define FALSE (0)
|
||||
#endif /* FALSE */
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE (!(FALSE))
|
||||
#endif /* TRUE */
|
||||
|
||||
#endif /* CONTROLLERS_ALGO_RUSEFI_TRUE_H_ */
|
|
@ -2,12 +2,14 @@
|
|||
* @file efifeatures.h
|
||||
*
|
||||
* @date Mar 7, 2014
|
||||
* @author Andrey Belomutskiy, (c) 2012-2017
|
||||
* @author Andrey Belomutskiy, (c) 2012-2018
|
||||
*/
|
||||
|
||||
#ifndef EFIFEATURES_H_
|
||||
#define EFIFEATURES_H_
|
||||
|
||||
#include "rusefi_true.h"
|
||||
|
||||
#define EFI_ENABLE_ASSERTS TRUE
|
||||
|
||||
#define SPARK_EXTREME_LOGGING TRUE
|
||||
|
|
|
@ -55,8 +55,6 @@ void print(const char *fmt, ...);
|
|||
typedef int bool_t;
|
||||
|
||||
#define EFI_ERROR_CODE 0xffffffff
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
#define CCM_OPTIONAL
|
||||
|
||||
|
|
Loading…
Reference in New Issue