field naming #98

(cherry picked from commit 37ee6af0ce2b06963fbf7c50c3a7b5ed94860f69)
This commit is contained in:
Matthew Kennedy 2023-05-04 16:33:00 -04:00 committed by rusefillc
parent a42fba565b
commit 0729605edf
4 changed files with 9 additions and 9 deletions

View File

@ -10,12 +10,12 @@ bit rpmTooLow
bit tpsTooLow
bit mapTooLow
int16_t autoscale luaTargetAdd;"Boost: Lua Target Add";"v", 0.5,0, -100,100, 1, @@GAUGE_CATEGORY_BOOST_CONTROL@@
int16_t autoscale luaTargetAdd;"Boost: Lua target add";"v", 0.5,0, -100,100, 1, @@GAUGE_CATEGORY_BOOST_CONTROL@@
int16_t autoscale boostOutput;@@GAUGE_NAME_BOOST_OUTPUT@@;"percent", 0.01,0, -100,100, 2, @@GAUGE_CATEGORY_BOOST_CONTROL@@
float luaTargetMult;"Boost: Lua Target Mult";"v", 1,0, -100,100, 1, @@GAUGE_CATEGORY_BOOST_CONTROL@@
float luaTargetMult;"Boost: Lua target mult";"v", 1,0, -100,100, 1, @@GAUGE_CATEGORY_BOOST_CONTROL@@
float openLoopPart;@@GAUGE_NAME_BOOST_OPEN_LOOP@@;"v", 1,0, -100,100, 1, @@GAUGE_CATEGORY_BOOST_CONTROL@@
float luaOpenLoopAdd;"Boost: Lua Open Loop Add";"v", 1,0, -100,100, 1, @@GAUGE_CATEGORY_BOOST_CONTROL@@
float luaOpenLoopAdd;"Boost: Lua open loop add";"v", 1,0, -100,100, 1, @@GAUGE_CATEGORY_BOOST_CONTROL@@
int8_t autoscale boostControllerClosedLoopPart;@@GAUGE_NAME_BOOST_CLOSED_LOOP@@;"%", 0.5,0, -50,50, 1, @@GAUGE_CATEGORY_BOOST_CONTROL@@
int16_t autoscale boostControlTarget;@@GAUGE_NAME_BOOST_TARGET@@;"kPa",{1/@@PACK_MULT_PRESSURE@@},0, 0, 300, 1, @@GAUGE_CATEGORY_BOOST_CONTROL@@

View File

@ -3,8 +3,8 @@
struct_no_prefix engine_state_s
struct LuaAdjustments
float fuelAdd
float fuelMult
float fuelAdd;Lua: Fuel add;"g", 1, 0, 0, 1, 3
float fuelMult;Lua: Fuel mult;
bit clutchUpState
bit brakePedalState

View File

@ -15,8 +15,8 @@ struct_no_prefix ignition_state_s
float dwellVoltageCorrection;"Ignition: dwell corr"
float luaTimingAdd;"Ignition: Lua add";"deg",1, 0, -20, 20, 2, @@GAUGE_CATEGORY_TIMING@@
float luaTimingMult;"Ignition: Lua mult";"deg",1, 0, -20, 20, 2, @@GAUGE_CATEGORY_TIMING@@
float luaTimingAdd;Ign: Lua timing add;"deg",1, 0, -20, 20, 2, @@GAUGE_CATEGORY_TIMING@@
float luaTimingMult;Ign: Lua timing mult;"deg",1, 0, -20, 20, 2, @@GAUGE_CATEGORY_TIMING@@
uint8_t[MAX_CYLINDER_COUNT iterate] perCylinderTiming;;"Timing Cyl", 1, 0, 0, 0, 0
end_struct

View File

@ -117,8 +117,8 @@
#define GAUGE_NAME_AUX_LINEAR_2 "Aux Linear #2"
#define GAUGE_NAME_BOOST_OUTPUT "Boost: Output"
#define GAUGE_NAME_BOOST_CLOSED_LOOP "Boost: Closed Loop"
#define GAUGE_NAME_BOOST_OPEN_LOOP "Boost: Open Loop"
#define GAUGE_NAME_BOOST_CLOSED_LOOP "Boost: Closed loop"
#define GAUGE_NAME_BOOST_OPEN_LOOP "Boost: Open loop"
#define GAUGE_NAME_BOOST_TARGET "Boost: Target"
#define INDICATOR_NAME_CLUTCH_UP "Clutch: up"