Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed useChryslerMapCorrection #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FlashStopFall
Copy link

ChryslerMapCorrection was broken when refactoring code in commit 419973f (Jun-6-2023). Code that used to be in functions.h got moved to trip_measurement.ino, and code that used to be in trip_measurement.ino got moved to trip_measurement.h. Moving them back allows useChryslerMapCorrection to compile.

I also changed EEPROM.h to eeprom.h to allow compiling on linux.

What caused useChryslerMapCorrection to break:
The code from functions.h was moved to trip_measurement.ino, which caused "error: 'prgmCalculateMAPpressure' was not declared in this scope" because the IDE couldn't access those function definitions ("#include functions.h" in mpguino_tav.ino).
The code from trip_measurement.ino was moved to trip_measurement.h, causing "Compilation error: 'tPressureChannel' was not declared in this scope".

ChryslerMapCorrection was broken when refactoring code in commit 419973f (Jun-6-2023). Code that used to be in functions.h got moved to trip_measurement.ino, and code that used to be in trip_measurement.ino got moved to trip_measurement.h. Moving them back allows useChryslerMapCorrection to compile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant