dead error code

This commit is contained in:
Matthew Kennedy 2024-07-21 22:22:14 -07:00
parent 9f56032670
commit d19db63d0e
2 changed files with 1 additions and 6 deletions

View File

@ -2109,7 +2109,7 @@ enum class ObdCode : uint16_t {
CUSTOM_ERR_6728 = 6728,
CUSTOM_ARTIFICIAL_MISFIRE = 6729,
CUSTOM_INSTANT_MAP_DECODING = 6899,
CUSTOM_ERR_6899 = 6899,
STACK_USAGE_COMMUNICATION = 6900,
STACK_USAGE_MIL = 6901,
// not used CUSTOM_6902 = 6902,

View File

@ -136,11 +136,6 @@ void mapAveragingAdcCallback(float instantVoltage) {
SensorResult mapResult = getMapAvg(currentMapAverager).submit(instantVoltage);
if (!mapResult) {
// hopefully this warning is not too much CPU consumption for fast ADC callback
warning(ObdCode::CUSTOM_INSTANT_MAP_DECODING, "Invalid MAP at %f", instantVoltage);
}
float instantMap = mapResult.value_or(0);
#if EFI_TUNER_STUDIO
engine->outputChannels.instantMAPValue = instantMap;