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: 3c2ff3258657
Choose a base ref
...
head repository: ngscopeclient/scopehal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 31d32d927ad5
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 26, 2020

  1. Copy the full SHA
    31d32d9 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 scopeprotocols/DPhySymbolDecoder.cpp
4 changes: 2 additions & 2 deletions scopeprotocols/DPhySymbolDecoder.cpp
Original file line number Diff line number Diff line change
@@ -145,7 +145,7 @@ void DPhySymbolDecoder::Refresh()
LP-00 or LP-01 (decode as LP-00)
Dp < 50 mV
LP-10 or LP-11 (decode as LP-10)
LP-10 or LP-11 (decode as LP-11)
Dp > 880 mV
*/
if(!dn)
@@ -156,7 +156,7 @@ void DPhySymbolDecoder::Refresh()
float v = dp->m_samples[i];

if(v > 0.88)
nextstate = DPhySymbol::STATE_LP10;
nextstate = DPhySymbol::STATE_LP11;
else if(v > 0.225)
nextstate = DPhySymbol::STATE_HS1;
else if(v < 0.005)