Potential TS3 serial fixes
This commit is contained in:
parent
066e64ef91
commit
8dc7ca3b4f
|
@ -72,7 +72,8 @@ void command()
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'Q': // send code version
|
case 'Q': // send code version
|
||||||
Serial.print(signature);
|
//Serial.print(signature);
|
||||||
|
Serial.write(signature);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
//The following requires TunerStudio 3
|
//The following requires TunerStudio 3
|
||||||
|
@ -257,8 +258,9 @@ void sendValues(int length)
|
||||||
response[31] = lowByte(currentStatus.rpmDOT);
|
response[31] = lowByte(currentStatus.rpmDOT);
|
||||||
response[32] = highByte(currentStatus.rpmDOT);
|
response[32] = highByte(currentStatus.rpmDOT);
|
||||||
|
|
||||||
|
cli();
|
||||||
Serial.write(response, (size_t)packetSize);
|
Serial.write(response, (size_t)packetSize);
|
||||||
|
sei();
|
||||||
//if(Serial.available()) { command(); }
|
//if(Serial.available()) { command(); }
|
||||||
//Serial.flush();
|
//Serial.flush();
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -90,10 +90,10 @@
|
||||||
tableBlockingFactor = 2048
|
tableBlockingFactor = 2048
|
||||||
delayAfterPortOpen=1000
|
delayAfterPortOpen=1000
|
||||||
;validateArrayBounds = true
|
;validateArrayBounds = true
|
||||||
blockReadTimeout = 700
|
blockReadTimeout = 1000
|
||||||
;tsWriteBlocks = on
|
;tsWriteBlocks = on
|
||||||
; writeBlocks = on
|
; writeBlocks = on
|
||||||
;interWriteDelay = 12
|
interWriteDelay = 0
|
||||||
|
|
||||||
;Page 1 is the fuel map and axis bins only
|
;Page 1 is the fuel map and axis bins only
|
||||||
page = 1
|
page = 1
|
||||||
|
|
Loading…
Reference in New Issue