Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ngscopeclient/scopehal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 107801ab3517
Choose a base ref
...
head repository: ngscopeclient/scopehal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 498773c414b3
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 24, 2020

  1. Copy the full SHA
    498773c View commit details
Showing with 5 additions and 2 deletions.
  1. +5 −2 scopeprotocols/PCIeDataLinkDecoder.cpp
7 changes: 5 additions & 2 deletions scopeprotocols/PCIeDataLinkDecoder.cpp
Original file line number Diff line number Diff line change
@@ -454,7 +454,10 @@ void PCIeDataLinkDecoder::Refresh()

if(sym.m_type != PCIeLogicalSymbol::TYPE_PAYLOAD_DATA)
{
cap->m_samples[ilast].m_type = PCIeDataLinkSymbol::TYPE_ERROR;
cap->m_offsets.push_back(off);
cap->m_durations.push_back(dur);
cap->m_samples.push_back(PCIeDataLinkSymbol(PCIeDataLinkSymbol::TYPE_ERROR));

state = STATE_IDLE;
}

@@ -724,7 +727,7 @@ string PCIeDataLinkDecoder::GetText(int i)

case PCIeDataLinkSymbol::TYPE_DLLP_SEQUENCE:
case PCIeDataLinkSymbol::TYPE_TLP_SEQUENCE:
snprintf(tmp, sizeof(tmp), "Seq: 0x%03x", s.m_data);
snprintf(tmp, sizeof(tmp), "Seq: %d", s.m_data);
return tmp;

case PCIeDataLinkSymbol::TYPE_DLLP_DATA: