mapFast into logs

This commit is contained in:
rusefillc 2022-09-15 14:55:49 -04:00
parent 6e3bbd2ca2
commit 672f0b8acc
3 changed files with 5 additions and 2 deletions

View File

@ -363,5 +363,6 @@ bit injectorState11
bit injectorState12
int outputRequestPeriod
uint8_t[154 iterate] unusedAtTheEnd;;"",1, 0, 0, 0, 0
float mapFast
uint8_t[150 iterate] unusedAtTheEnd;;"",1, 0, 0, 0, 0
end_struct

View File

@ -798,6 +798,9 @@ void updateTunerStudioState() {
tsOutputChannels->starterState = enginePins.starterControl.getLogicValue();
tsOutputChannels->starterRelayDisable = enginePins.starterRelayDisable.getLogicValue();
tsOutputChannels->mapFast = Sensor::getOrZero(SensorType::MapFast);
tsOutputChannels->revolutionCounterSinceStart = engine->rpmCalculator.getRevolutionCounterSinceStart();
#if EFI_CAN_SUPPORT
postCanState();

View File

@ -167,7 +167,6 @@ static void applyMapMinBufferLength() {
void postMapState(TunerStudioOutputChannels *tsOutputChannels) {
tsOutputChannels->debugFloatField1 = v_averagedMapValue;
tsOutputChannels->debugFloatField2 = engine->engineState.mapAveragingDuration;
tsOutputChannels->debugFloatField3 = Sensor::getOrZero(SensorType::MapFast);
tsOutputChannels->debugIntField1 = mapMeasurementsCounter;
}
#endif /* EFI_TUNER_STUDIO */