showing 'before' values while changing TPS settings

This commit is contained in:
rusEfi 2019-09-01 16:11:35 -04:00
parent 0a7a9b4184
commit 3e852bfb1e
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,7 @@ int getTPS12bitAdc(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
void grabTPSIsClosed() {
#if EFI_PROD_CODE
printTPSInfo();
engineConfiguration->tpsMin = getTPS10bitAdc();
printTPSInfo();
#endif /* EFI_PROD_CODE */
@ -166,6 +167,7 @@ void grabTPSIsClosed() {
void grabTPSIsWideOpen() {
#if EFI_PROD_CODE
printTPSInfo();
engineConfiguration->tpsMax = getTPS10bitAdc();
printTPSInfo();
#endif /* EFI_PROD_CODE */