fix potential bug

main
DustyP 9 months ago
parent ae0de103b3
commit 29993a4d56

@ -199,7 +199,7 @@ func (dc *DerbyClock) readLoop() {
// Check for lane result pattern (n=t.ttttc)
// We need to look for an equals sign followed by digits, a period, more digits, and a finish character
if b[0] == '=' || b[0] == ' ' || b[0] == '\r' || b[0] == '\n' {
if b[0] == ' ' || b[0] == '\n' {
// These characters could indicate a complete result or a separator
// Try to extract a result from the buffer
result := dc.tryExtractResult(buffer)

Loading…
Cancel
Save