SD card log fields list should be auto-generated #3985

This commit is contained in:
rusefillc 2022-10-28 04:20:35 -04:00
parent 23ecb21562
commit 7cc4c5d394
2 changed files with 8 additions and 8 deletions

View File

@ -35,7 +35,7 @@ float engineCycleDurationMs;
float minRpmKcurrentTPS
int currentTpsAdc
uint32_t currentTpsAdc
float tpsVoltageMCU
float tpsVoltageBoard
@ -89,15 +89,15 @@ running_fuel_s running
bit clutchDownState;@@INDICATOR_NAME_CLUTCH_DOWN@@
bit brakePedalState;@@INDICATOR_NAME_BRAKE_DOWN@@
bit startStopState
int startStopStateToggleCounter
uint32_t startStopStateToggleCounter
float egt1
float egt2
int16_t desiredRpmLimit;User-defined RPM hard limit;"rpm", 1, 0, 0, 30000, 0
int fuelInjectionCounter
int sparkCounter
uint32_t fuelInjectionCounter
uint32_t sparkCounter
! Values used for load axes for fuel/ign tables

View File

@ -216,7 +216,7 @@ struct engine_state_s {
/**
* offset 32
*/
int currentTpsAdc = (int)0;
uint32_t currentTpsAdc = (int)0;
/**
* offset 36
*/
@ -382,7 +382,7 @@ struct engine_state_s {
/**
* offset 120
*/
int startStopStateToggleCounter = (int)0;
uint32_t startStopStateToggleCounter = (int)0;
/**
* offset 124
*/
@ -406,11 +406,11 @@ struct engine_state_s {
/**
* offset 136
*/
int fuelInjectionCounter = (int)0;
uint32_t fuelInjectionCounter = (int)0;
/**
* offset 140
*/
int sparkCounter = (int)0;
uint32_t sparkCounter = (int)0;
/**
* @@GAUGE_NAME_FUEL_LOAD@@
* offset 144