Versioning for September 2016 dev
This commit is contained in:
parent
f3df4a072f
commit
12e1ce8617
33
comms.ino
33
comms.ino
|
@ -62,39 +62,14 @@ void command()
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'S': // send code version
|
case 'S': // send code version
|
||||||
//Serial.print(signature);
|
Serial.print("Speeduino 2016.09");
|
||||||
//break;
|
|
||||||
|
|
||||||
/*
|
|
||||||
char titleString[18];
|
|
||||||
strcat(titleString, displaySignature);
|
|
||||||
strcat(titleString, " ");
|
|
||||||
strcat(titleString, TSfirmwareVersion);
|
|
||||||
|
|
||||||
//Serial.print(titleString);
|
|
||||||
//Serial.write(titleString,16);
|
|
||||||
*/
|
|
||||||
Serial.print("Speeduino 2016.08");
|
|
||||||
currentStatus.secl = 0; //This is required in TS3 due to its stricter timings
|
currentStatus.secl = 0; //This is required in TS3 due to its stricter timings
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'Q': // send code version
|
case 'Q': // send code signature
|
||||||
Serial.print("speeduino 201608");
|
Serial.print("speeduino 201609-dev");
|
||||||
|
|
||||||
//Serial.print(signature);
|
|
||||||
//Serial.write(signature);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
//The following requires TunerStudio 3
|
|
||||||
/*
|
|
||||||
strcat(titleString, signature);
|
|
||||||
strcat(titleString, " ");
|
|
||||||
strcat(titleString, TSfirmwareVersion);
|
|
||||||
|
|
||||||
Serial.write(titleString,19);
|
|
||||||
break;
|
|
||||||
*/
|
|
||||||
|
|
||||||
case 'V': // send VE table and constants in binary
|
case 'V': // send VE table and constants in binary
|
||||||
sendPage(false);
|
sendPage(false);
|
||||||
break;
|
break;
|
||||||
|
@ -231,6 +206,8 @@ void sendValues(int length)
|
||||||
if(requestCount == 0) { currentStatus.secl = 0; }
|
if(requestCount == 0) { currentStatus.secl = 0; }
|
||||||
requestCount++;
|
requestCount++;
|
||||||
|
|
||||||
|
currentStatus.spark ^= (-currentStatus.hasSync ^ currentStatus.spark) & (1 << BIT_SPARK_SYNC); //Set the sync bit of the Spark variable to match the hasSync variable
|
||||||
|
|
||||||
response[0] = currentStatus.secl; //secl is simply a counter that increments each second. Used to track unexpected resets (Which will reset this count to 0)
|
response[0] = currentStatus.secl; //secl is simply a counter that increments each second. Used to track unexpected resets (Which will reset this count to 0)
|
||||||
response[1] = currentStatus.squirt; //Squirt Bitfield
|
response[1] = currentStatus.squirt; //Squirt Bitfield
|
||||||
response[2] = currentStatus.engine; //Engine Status Bitfield
|
response[2] = currentStatus.engine; //Engine Status Bitfield
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
queryCommand = "Q"
|
queryCommand = "Q"
|
||||||
;signature = 20
|
;signature = 20
|
||||||
signature = "speeduino 201608"
|
signature = "speeduino 201609-dev"
|
||||||
versionInfo = "S" ; Put this in the title bar.
|
versionInfo = "S" ; Put this in the title bar.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue