From 4871e8ba426d375e0d947350554ccbd07debe1d3 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Thu, 14 Oct 2021 15:17:59 -0400 Subject: [PATCH] Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353 dead code --- firmware/controllers/core/common_headers.h | 42 ---------------------- 1 file changed, 42 deletions(-) diff --git a/firmware/controllers/core/common_headers.h b/firmware/controllers/core/common_headers.h index 9d1a3ef75c..ad6ce10f97 100644 --- a/firmware/controllers/core/common_headers.h +++ b/firmware/controllers/core/common_headers.h @@ -32,48 +32,6 @@ #include "cli_registry.h" #endif /* __cplusplus */ -/** - * reference to configuration parameter. - */ -#define DISPLAY_CONFIG(x) x -/** - * The main annotation of live data - reference to dynamic state variable - * See also 'TS_GET_STRUCT' - * The advantage of Live Data is that there is no need to copy data into tsOutputChannels structure - Live Data is reading exactly - * the same data as actual runtime logic. It's also important to have annotations of the View as close to actual implementation as possible - * to increase the changes of those being in sync. - * - * One day Live Data could be replace with a Domain Specific Language - * One day all Live Data could be provided to TS without data copy to tsOutputChannels - the idea is to have a virtual tsOutputChannels - * where rusEfi would pull data from different memory ranges depending on the requested offset, more or less virtual pages. This could depend - * on the TS bugfix described in https://github.com/rusefi/rusefi/issues/794? - * - */ -#define DISPLAY_FIELD(x) x -/** - * Advanced tag to access fields within data structures - * "running.fuel" variable would be referenced as DISPLAY_PREFIX(running).DISPLAY_FIELD(fuel) - */ -#define DISPLAY_PREFIX(x) x - -/** - * we use this 'DISPLAY' macro if value is not used by C++ code in current context and we want to hide it from compiler - */ -#define DISPLAY(x) - -#define DISPLAY_TAG(x) -/** - * Just a human-readable comment. '_' underscore symbols become spaces. EOL is handled as new line. - */ -#define DISPLAY_TEXT(x) -#define DISPLAY_STATE(x) -/** - * Reference to one of 'output' channels/standard gauges. - */ -#define DISPLAY_SENSOR(x) {} -#define DISPLAY_IF(x) x - #ifndef FIRMWARE_ID #define FIRMWARE_ID "source" #endif -