A vague bug #1684
This commit is contained in:
parent
3ed85390af
commit
795c7acf31
|
@ -73,6 +73,8 @@
|
|||
#define DISPLAY_SENSOR(x) {}
|
||||
#define DISPLAY_IF(x) x
|
||||
|
||||
#if EFI_UNIT_TEST
|
||||
|
||||
#define DECLARE_ENGINE_PTR \
|
||||
Engine *engine = nullptr; \
|
||||
engine_configuration_s *engineConfiguration = nullptr; \
|
||||
|
@ -84,6 +86,14 @@
|
|||
(x)->engineConfiguration = engineConfiguration; \
|
||||
(x)->config = config;
|
||||
|
||||
#else // EFI_UNIT_TEST
|
||||
|
||||
#define DECLARE_ENGINE_PTR
|
||||
|
||||
#define INJECT_ENGINE_REFERENCE(x) {}
|
||||
|
||||
#endif // EFI_UNIT_TEST
|
||||
|
||||
#define EXPAND_Engine \
|
||||
engine_configuration_s *engineConfiguration = engine->engineConfigurationPtr; \
|
||||
persistent_config_s *config = engine->config; \
|
||||
|
|
Loading…
Reference in New Issue