only: narrowing the scope of C++
This commit is contained in:
parent
506b03122d
commit
177a06d848
|
@ -11,11 +11,6 @@
|
|||
#include "rusefi_generated.h"
|
||||
#include <cstdint>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/**
|
||||
* Something is wrong, but we can live with it: some minor sensor is disconnected
|
||||
* or something like that
|
||||
|
@ -61,6 +56,11 @@ int getRusEfiVersion(void);
|
|||
|
||||
#define criticalAssertVoid(condition, message) efiAssertVoid(ObdCode::OBD_PCM_Processor_Fault, condition, message)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#if EFI_PROD_CODE
|
||||
#include <hal.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue