Re-wrote the fuel injector pulse capture code to use only INT0. Converted raw measurement variables from separately named InjCycles, VSScycles, etc; to an array rawData[18] with specified constant indexes (rvInjCycleIdx, rvVSScycleIdx, etc.). Re-wrote Trip class routines to take advantage of using an array of raw values.
Code size is now at 17002. CPU loading is at 2.20%. Free RAM is at 1051.
(Yes - I am indeed shocked. That's smaller than the original 0.86 code size, which is 17160).
|