mirror of https://github.com/FOME-Tech/fome-fw.git
dead error code
This commit is contained in:
parent
9f56032670
commit
d19db63d0e
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue