dead MAP debug mode

This commit is contained in:
Matthew Kennedy 2024-08-28 01:43:34 -07:00
parent 23cfa4e2c6
commit 4ae3056257
4 changed files with 1 additions and 16 deletions

View File

@ -622,11 +622,6 @@ void updateTunerStudioState() {
#endif // EFI_SHAFT_POSITION_INPUT
break;
#if EFI_MAP_AVERAGING
case DBG_MAP:
postMapState(tsOutputChannels);
break;
#endif /* EFI_MAP_AVERAGING */
case DBG_INSTANT_RPM:
{
#if EFI_SHAFT_POSITION_INPUT

View File

@ -258,7 +258,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

@ -170,12 +170,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

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