only: dead postMapState

This commit is contained in:
rusefillc 2024-06-15 01:13:18 -04:00 committed by Andrey
parent 337f9cbdcb
commit c5ef2db878
5 changed files with 2 additions and 17 deletions

View File

@ -762,11 +762,6 @@ void updateTunerStudioState() {
tsOutputChannels->debugIntField2 = instance.invalidResponsesCount;
break;
#endif /* EFI_HIP_9011 */
#if EFI_MAP_AVERAGING
case DBG_MAP:
postMapState(tsOutputChannels);
break;
#endif /* EFI_MAP_AVERAGING */
case DBG_ION:
#if EFI_CDM_INTEGRATION
ionPostState(tsOutputChannels);

View File

@ -112,7 +112,7 @@ void setDefaultBaseEngine() {
engineConfiguration->fuelAlgorithm = LM_SPEED_DENSITY;
// let's have valid default while we still have the field
engineConfiguration->debugMode = DBG_MAP;
engineConfiguration->debugMode = DBG_EXECUTOR;
engineConfiguration->boostCutPressure = 300;
engineConfiguration->boostCutPressureHyst = 20;

View File

@ -254,7 +254,7 @@ typedef enum __attribute__ ((__packed__)) {
DBG_24 = 24,
DBG_25 = 25,
DBG_26 = 26,
DBG_MAP = 27,
DBG_27 = 27,
DBG_METRICS = 28,
DBG_29 = 29,
DBG_ION = 30,

View File

@ -168,12 +168,6 @@ static void applyMapMinBufferLength() {
}
}
#if EFI_TUNER_STUDIO
void postMapState(TunerStudioOutputChannels *tsOutputChannels) {
tsOutputChannels->debugFloatField2 = engine->engineState.mapAveragingDuration;
}
#endif /* EFI_TUNER_STUDIO */
void refreshMapAveragingPreCalc() {
int rpm = Sensor::getOrZero(SensorType::Rpm);
if (isValidRpm(rpm)) {

View File

@ -21,10 +21,6 @@ void refreshMapAveragingPreCalc();
void mapAveragingTriggerCallback(
uint32_t index, efitick_t edgeTimestamp);
#if EFI_TUNER_STUDIO
void postMapState(TunerStudioOutputChannels *tsOutputChannels);
#endif
// allow smoothing up to number of cylinders
#define MAX_MAP_BUFFER_LENGTH (MAX_CYLINDER_COUNT)