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

Commits on Jul 24, 2020

  1. Copy the full SHA
    c156978 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 scopeprotocols/DeEmbedDecoder.cpp
4 changes: 2 additions & 2 deletions scopeprotocols/DeEmbedDecoder.cpp
Original file line number Diff line number Diff line change
@@ -222,10 +222,10 @@ void DeEmbedDecoder::Refresh()
cap->m_timescale = din->m_timescale;

//Copy waveform data after rescaling
//We seem to have problems with the first few points, not sure why!
//We seem to have problems with the first and last few points, not sure why!
//For now, just skip them.
float scale = 1.0f / npoints;
for(size_t i=1024; i<npoints; i++)
for(size_t i=512; i<npoints - 512; i++)
{
cap->m_offsets.push_back(din->m_offsets[i]);
cap->m_durations.push_back(din->m_durations[i]);