mirror of https://github.com/FOME-Tech/fome-fw.git
dead MAP debug mode
This commit is contained in:
parent
23cfa4e2c6
commit
4ae3056257
|
@ -622,11 +622,6 @@ void updateTunerStudioState() {
|
||||||
#endif // EFI_SHAFT_POSITION_INPUT
|
#endif // EFI_SHAFT_POSITION_INPUT
|
||||||
|
|
||||||
break;
|
break;
|
||||||
#if EFI_MAP_AVERAGING
|
|
||||||
case DBG_MAP:
|
|
||||||
postMapState(tsOutputChannels);
|
|
||||||
break;
|
|
||||||
#endif /* EFI_MAP_AVERAGING */
|
|
||||||
case DBG_INSTANT_RPM:
|
case DBG_INSTANT_RPM:
|
||||||
{
|
{
|
||||||
#if EFI_SHAFT_POSITION_INPUT
|
#if EFI_SHAFT_POSITION_INPUT
|
||||||
|
|
|
@ -258,7 +258,7 @@ typedef enum __attribute__ ((__packed__)) {
|
||||||
DBG_24 = 24,
|
DBG_24 = 24,
|
||||||
DBG_25 = 25,
|
DBG_25 = 25,
|
||||||
DBG_26 = 26,
|
DBG_26 = 26,
|
||||||
DBG_MAP = 27,
|
DBG_27 = 27,
|
||||||
DBG_METRICS = 28,
|
DBG_METRICS = 28,
|
||||||
DBG_29 = 29,
|
DBG_29 = 29,
|
||||||
DBG_ION = 30,
|
DBG_ION = 30,
|
||||||
|
|
|
@ -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() {
|
void refreshMapAveragingPreCalc() {
|
||||||
int rpm = Sensor::getOrZero(SensorType::Rpm);
|
int rpm = Sensor::getOrZero(SensorType::Rpm);
|
||||||
if (isValidRpm(rpm)) {
|
if (isValidRpm(rpm)) {
|
||||||
|
|
|
@ -20,10 +20,6 @@ void refreshMapAveragingPreCalc();
|
||||||
|
|
||||||
void mapAveragingTriggerCallback(efitick_t edgeTimestamp, angle_t currentPhase, angle_t nextPhase);
|
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
|
// allow smoothing up to number of cylinders
|
||||||
#define MAX_MAP_BUFFER_LENGTH (MAX_CYLINDER_COUNT)
|
#define MAX_MAP_BUFFER_LENGTH (MAX_CYLINDER_COUNT)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue