Minor changes to simplfy referencing a number of page1 variables
This commit is contained in:
parent
1c928119f7
commit
ce7a805772
|
@ -91,7 +91,7 @@ void sendValues(int length)
|
|||
response[4] = currentStatus.MAP; //map
|
||||
response[5] = 0x00; //mat
|
||||
response[6] = 0x00; //Coolant
|
||||
response[7] = 0x00; //TPS
|
||||
response[7] = currentStatus.TPS; //TPS
|
||||
response[8] = 0x00; //battery voltage
|
||||
response[9] = 0x00; //O2
|
||||
response[10] = 0x00; //Exhaust gas correction (%)
|
||||
|
|
13
globals.h
13
globals.h
|
@ -60,28 +60,23 @@ struct config1 {
|
|||
byte battFac; //Whether to compensate pulsewidth for battery voltage (ms/v)
|
||||
int rpmk;
|
||||
|
||||
byte config1;
|
||||
/*
|
||||
//config1 in ini
|
||||
byte mapType : 2;
|
||||
byte strokes : 1;
|
||||
byte injType : 1;
|
||||
byte nCylinders : 4; //Number of cylinders
|
||||
*/
|
||||
|
||||
byte config2;
|
||||
/*
|
||||
//config2 in ini
|
||||
byte cltType : 2;
|
||||
byte matType : 2;
|
||||
byte nInjectors : 4; //Number of injectors
|
||||
*/
|
||||
|
||||
byte config3;
|
||||
/*
|
||||
|
||||
//config3 in ini
|
||||
byte engineType : 1;
|
||||
byte egoType : 1;
|
||||
byte algorithm : 1; //"Speed Density", "Alpha-N"
|
||||
byte baroCorr : 1;
|
||||
*/
|
||||
|
||||
byte primePulse;
|
||||
byte egoRPM;
|
||||
|
|
Loading…
Reference in New Issue