only: variable scope

This commit is contained in:
rusefillc 2024-06-15 01:15:22 -04:00 committed by Andrey
parent c49dfc3e5f
commit 337f9cbdcb
1 changed files with 1 additions and 1 deletions

View File

@ -142,8 +142,8 @@ void mapAveragingAdcCallback(float instantVoltage) {
warning(ObdCode::CUSTOM_INSTANT_MAP_DECODING, "Invalid MAP at %f", instantVoltage);
}
float instantMap = mapResult.value_or(0);
#if EFI_TUNER_STUDIO
float instantMap = mapResult.value_or(0);
engine->outputChannels.instantMAPValue = instantMap;
#endif // EFI_TUNER_STUDIO
}