Fix edge case that could prevent tooth log completing its transmission
This commit is contained in:
parent
b7c02b53d6
commit
bce129cb68
|
@ -5223,7 +5223,7 @@ cmdVSSratio6 = "E\x99\x06"
|
|||
dataReadTimeout = 5000 ; time in ms
|
||||
continuousRead = true
|
||||
dataReadyCondition = { toothLog1Ready == 1 }
|
||||
dataLength = 508; in bytes, including headers, footers and data (not used). 4 bytes * 127 entries
|
||||
dataLength = 508; in bytes, including headers, footers and data (not used). 4 bytes * 127 entries (TOOTH_LOG_SIZE)
|
||||
;dataLength = 128 ; in bytes, including headers, footers and data (not used)
|
||||
|
||||
;recordDef = headerLen. footerLen, recordLen
|
||||
|
|
|
@ -964,6 +964,7 @@ void sendToothLog(byte startOffset)
|
|||
//tx buffer is full. Store the current state so it can be resumed later
|
||||
inProgressOffset = x;
|
||||
toothLogSendInProgress = true;
|
||||
legacySerial = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1036,7 +1037,7 @@ void sendCompositeLog(byte startOffset)
|
|||
//tx buffer is full. Store the current state so it can be resumed later
|
||||
inProgressOffset = x;
|
||||
compositeLogSendInProgress = true;
|
||||
|
||||
legacySerial = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue