metrics without text messages
This commit is contained in:
parent
07cce9f315
commit
14a2c2d90f
|
@ -94,6 +94,8 @@ extern TunerStudioOutputChannels tsOutputChannels;
|
||||||
|
|
||||||
extern bool hasFirmwareErrorFlag;
|
extern bool hasFirmwareErrorFlag;
|
||||||
extern tunerstudio_counters_s tsState;
|
extern tunerstudio_counters_s tsState;
|
||||||
|
extern int maxTriggerReentraint;
|
||||||
|
extern uint32_t maxLockedDuration;
|
||||||
#define FULL_LOGGING_KEY "fl"
|
#define FULL_LOGGING_KEY "fl"
|
||||||
|
|
||||||
static char LOGGING_BUFFER[1800] CCM_OPTIONAL;
|
static char LOGGING_BUFFER[1800] CCM_OPTIONAL;
|
||||||
|
@ -745,6 +747,12 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
||||||
tsOutputChannels->debugFloatField1 = getTimeNowSeconds();
|
tsOutputChannels->debugFloatField1 = getTimeNowSeconds();
|
||||||
tsOutputChannels->debugIntField1 = atoi(VCS_VERSION);
|
tsOutputChannels->debugIntField1 = atoi(VCS_VERSION);
|
||||||
break;
|
break;
|
||||||
|
case DBG_METRICS:
|
||||||
|
#if EFI_CLOCK_LOCKS || defined(__DOXYGEN__)
|
||||||
|
tsOutputChannels->debugIntField1 = maxLockedDuration;
|
||||||
|
tsOutputChannels->debugIntField2 = maxTriggerReentraint;
|
||||||
|
#endif /* EFI_CLOCK_LOCKS */
|
||||||
|
break;
|
||||||
case DBG_TPS_ACCEL:
|
case DBG_TPS_ACCEL:
|
||||||
tsOutputChannels->debugIntField1 = engine->tpsAccelEnrichment.cb.getSize();
|
tsOutputChannels->debugIntField1 = engine->tpsAccelEnrichment.cb.getSize();
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -736,8 +736,8 @@ case DBG_CAN:
|
||||||
return "DBG_CAN";
|
return "DBG_CAN";
|
||||||
case DBG_MAP:
|
case DBG_MAP:
|
||||||
return "DBG_MAP";
|
return "DBG_MAP";
|
||||||
case DBG_28:
|
case DBG_METRICS:
|
||||||
return "DBG_28";
|
return "DBG_METRICS";
|
||||||
case DBG_29:
|
case DBG_29:
|
||||||
return "DBG_29";
|
return "DBG_29";
|
||||||
case DBG_ADC:
|
case DBG_ADC:
|
||||||
|
@ -792,7 +792,9 @@ case DBG_WARMUP_ENRICH:
|
||||||
return "DBG_WARMUP_ENRICH";
|
return "DBG_WARMUP_ENRICH";
|
||||||
case Force_4b_debug_mode_e:
|
case Force_4b_debug_mode_e:
|
||||||
return "Force_4b_debug_mode_e";
|
return "Force_4b_debug_mode_e";
|
||||||
}
|
default:
|
||||||
|
return "NA";
|
||||||
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
const char *getAir_pressure_sensor_type_e(air_pressure_sensor_type_e value){
|
const char *getAir_pressure_sensor_type_e(air_pressure_sensor_type_e value){
|
||||||
|
|
|
@ -773,8 +773,13 @@ typedef enum {
|
||||||
DBG_CJ125 = 25,
|
DBG_CJ125 = 25,
|
||||||
DBG_CAN = 26,
|
DBG_CAN = 26,
|
||||||
DBG_MAP = 27,
|
DBG_MAP = 27,
|
||||||
DBG_28 = 28,
|
DBG_METRICS = 28,
|
||||||
DBG_29 = 29,
|
DBG_29 = 29,
|
||||||
|
DBG_30 = 30,
|
||||||
|
DBG_31 = 31,
|
||||||
|
DBG_32 = 32,
|
||||||
|
DBG_33 = 33,
|
||||||
|
DBG_34 = 34,
|
||||||
|
|
||||||
Force_4b_debug_mode_e = ENUM_32_BITS,
|
Force_4b_debug_mode_e = ENUM_32_BITS,
|
||||||
} debug_mode_e;
|
} debug_mode_e;
|
||||||
|
|
Loading…
Reference in New Issue