View Single Post
Old 05-13-2008, 10:48 PM   #51 (permalink)
mosier
EcoModding Lurker
 
Join Date: Jan 2008
Location: us
Posts: 14

grnsat - '95 Saturn SL1

metro - '95 Geo Metro LSi
Thanks: 0
Thanked 0 Times in 0 Posts
I also noticed this in the code, the subtraction went the wrong direction..

Code:
void Trip::update(Trip t){
  seconds++;  //we call update once a second
  injPulses+=t.injPulses;
  vssPulses+=t.vssPulses;
  injHius+=t.injHius;
  if (injHius>=1000000){  //rollover into the injHiSec counter
    injHiSec++;
    //injHius=1000000-injHius; // **this would result in a negative number
    injHius-=1000000;  //  **correct
  }

}
I'd considered using one of the inputs for the MAP signal, and also TPS. As for the fuel pressure changing.. I'm hoping to find more info on the factory FPRs.

  Reply With Quote