mirror of
https://github.com/JasonYANG170/logicanalyzer.git
synced 2024-11-23 12:06:27 +00:00
Don't set operation to read before writing segment
This commit is contained in:
parent
7d05c52627
commit
30624c6143
|
@ -98,10 +98,11 @@ namespace I2CProtocolAnalyzer
|
|||
{
|
||||
// Reset addressByte from repeat start
|
||||
addressByte = false;
|
||||
op = "Read";
|
||||
segment.Value += "10b Op Change";
|
||||
segment.Value += $"\r\nAddress: {addr}";
|
||||
segment.Value += $" Op: {op}";
|
||||
// Don't change op until after adding current segment value
|
||||
op = "Read";
|
||||
|
||||
}
|
||||
// else This is a new start with a new address
|
||||
|
|
Loading…
Reference in New Issue
Block a user