Add afr target channel to comms output

This commit is contained in:
Josh Stewart 2015-02-06 13:11:16 +11:00
parent 7a3996d6e0
commit c426702b22
2 changed files with 2 additions and 1 deletions

View File

@ -138,7 +138,7 @@ void sendValues(int length)
response[16] = 0x00; //Barometer correction (%)
response[17] = currentStatus.corrections; //Total GammaE (%)
response[18] = currentStatus.VE; //Current VE 1 (%)
response[19] = 0x00; //Pulsewidth 2 (Unused currently)
response[19] = currentStatus.afrTarget;
response[20] = 0x00; //Current VE 2 (Unused Currently)
response[21] = currentStatus.tpsDOT; //TPS DOT
response[22] = currentStatus.advance;

View File

@ -62,6 +62,7 @@ struct statuses {
byte TAEamount; //The amount of accleration enrichment currently being applied
byte egoCorrection; //The amount of closed loop AFR enrichment currently being applied
byte wueCorrection; //The amount of closed loop AFR enrichment currently being applied
byte afrTarget;
unsigned long TAEEndTime; //The target end time used whenever TAE is turned on
volatile byte squirt;
byte engine;