SD-card log fields improvement (warning counter & last code) #3162
This commit is contained in:
parent
e26ead3f57
commit
935ab7610d
|
@ -217,8 +217,8 @@ struct TunerStudioOutputChannels {
|
||||||
scaled_channel<uint32_t> debugIntField1;
|
scaled_channel<uint32_t> debugIntField1;
|
||||||
scaled_channel<uint32_t> debugIntField2;
|
scaled_channel<uint32_t> debugIntField2;
|
||||||
scaled_channel<uint32_t> debugIntField3;
|
scaled_channel<uint32_t> debugIntField3;
|
||||||
int16_t debugIntField4;
|
scaled_channel<uint16_t> debugIntField4;
|
||||||
int16_t debugIntField5; // 210
|
scaled_channel<uint16_t> debugIntField5; // 210
|
||||||
|
|
||||||
// accelerometer
|
// accelerometer
|
||||||
int16_t accelerationX; // 212
|
int16_t accelerationX; // 212
|
||||||
|
|
|
@ -35,6 +35,11 @@ static constexpr LogField fields[] = {
|
||||||
{tsOutputChannels.airFuelRatio2, GAUGE_NAME_AFR2, "afr", 2},
|
{tsOutputChannels.airFuelRatio2, GAUGE_NAME_AFR2, "afr", 2},
|
||||||
{tsOutputChannels.lambda, GAUGE_NAME_LAMBDA, "", 3},
|
{tsOutputChannels.lambda, GAUGE_NAME_LAMBDA, "", 3},
|
||||||
{tsOutputChannels.lambda2, GAUGE_NAME_LAMBDA2, "", 3},
|
{tsOutputChannels.lambda2, GAUGE_NAME_LAMBDA2, "", 3},
|
||||||
|
{tsOutputChannels.debugIntField1, GAUGE_NAME_DEBUG_I1, "", 0},
|
||||||
|
{tsOutputChannels.debugIntField2, GAUGE_NAME_DEBUG_I2, "", 0},
|
||||||
|
{tsOutputChannels.debugIntField3, GAUGE_NAME_DEBUG_I3, "", 0},
|
||||||
|
{tsOutputChannels.debugIntField4, GAUGE_NAME_DEBUG_I4, "", 0},
|
||||||
|
{tsOutputChannels.debugIntField5, GAUGE_NAME_DEBUG_I5, "", 0},
|
||||||
{tsOutputChannels.vBatt, GAUGE_NAME_VBAT, "v", 2},
|
{tsOutputChannels.vBatt, GAUGE_NAME_VBAT, "v", 2},
|
||||||
{tsOutputChannels.oilPressure, GAUGE_NAME_OIL_PRESSURE, GAUGE_NAME_FUEL_PRESSURE_HIGH_UNITS, 0},
|
{tsOutputChannels.oilPressure, GAUGE_NAME_OIL_PRESSURE, GAUGE_NAME_FUEL_PRESSURE_HIGH_UNITS, 0},
|
||||||
{tsOutputChannels.lowFuelPressure, GAUGE_NAME_FUEL_PRESSURE_LOW, GAUGE_NAME_FUEL_PRESSURE_LOW_UNITS, 0},
|
{tsOutputChannels.lowFuelPressure, GAUGE_NAME_FUEL_PRESSURE_LOW, GAUGE_NAME_FUEL_PRESSURE_LOW_UNITS, 0},
|
||||||
|
|
|
@ -273,7 +273,7 @@ void reportLogicAnalyzerToTS() {
|
||||||
getChannelFreqAndDuty(1,&tsOutputChannels.debugFloatField2, &tsOutputChannels.debugIntField2);
|
getChannelFreqAndDuty(1,&tsOutputChannels.debugFloatField2, &tsOutputChannels.debugIntField2);
|
||||||
getChannelFreqAndDuty(2,&tsOutputChannels.debugFloatField3, &tsOutputChannels.debugIntField3);
|
getChannelFreqAndDuty(2,&tsOutputChannels.debugFloatField3, &tsOutputChannels.debugIntField3);
|
||||||
getChannelFreqAndDuty(3,&tsOutputChannels.debugFloatField4, &tmp);
|
getChannelFreqAndDuty(3,&tsOutputChannels.debugFloatField4, &tmp);
|
||||||
tsOutputChannels.debugIntField4 = tmp;
|
tsOutputChannels.debugIntField4 = (uint16_t)tmp;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue