Minor changes to simplfy referencing a number of page1 variables

This commit is contained in:
Josh Stewart 2013-09-16 17:39:24 +10:00
parent 1c928119f7
commit ce7a805772
2 changed files with 6 additions and 11 deletions

View File

@ -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 (%)

View File

@ -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;