Ah... that was the other thing.
Go to about line 1758, and there should be something that looks like:
Code:
#ifdef useChryslerMAPCorrection
const uint8_t idxCorrFactor = nextAllowedValue + 1;
#define nextAllowedValue idxCorrFactor
#endif
Then, make this change:
Code:
#ifdef useIsqrt
const uint8_t idxCorrFactor = nextAllowedValue + 1;
#define nextAllowedValue idxCorrFactor
#endif
Also, go to line 870, and change this line from:
Code:
const uint8_t pInjectorCountIdx = nextAllowedValue + 1;
to this:
Code:
const uint8_t pInjectorCountIdx = pRefFuelPressureIdx + 1;
Failure to do that will result in code, compiling with the "useCalculatedFuelFactor" option enabled, to display wildly inaccurate fuel rates and speeds, as I learned to my great surprise the other day. Ugh...
I can't post the latest code yet, because I just got done reverting the fuel injector interrupt code back to using two separate pins, and I haven't yet tested it yet to see if it works.