Potential TS3 serial fixes

This commit is contained in:
Josh Stewart 2016-06-09 22:39:42 +10:00
parent 066e64ef91
commit 8dc7ca3b4f
2 changed files with 6 additions and 4 deletions

View File

@ -72,7 +72,8 @@ void command()
break;
case 'Q': // send code version
Serial.print(signature);
//Serial.print(signature);
Serial.write(signature);
break;
//The following requires TunerStudio 3
@ -257,8 +258,9 @@ void sendValues(int length)
response[31] = lowByte(currentStatus.rpmDOT);
response[32] = highByte(currentStatus.rpmDOT);
cli();
Serial.write(response, (size_t)packetSize);
sei();
//if(Serial.available()) { command(); }
//Serial.flush();
return;

View File

@ -90,10 +90,10 @@
tableBlockingFactor = 2048
delayAfterPortOpen=1000
;validateArrayBounds = true
blockReadTimeout = 700
blockReadTimeout = 1000
;tsWriteBlocks = on
; writeBlocks = on
;interWriteDelay = 12
interWriteDelay = 0
;Page 1 is the fuel map and axis bins only
page = 1