only: narrowing the scope of C++

This commit is contained in:
rusefillc 2023-10-05 22:22:00 -04:00
parent 506b03122d
commit 177a06d848
1 changed files with 5 additions and 5 deletions

View File

@ -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>