Skip to content

Commit

Permalink
Merge pull request #15 from saleae/fix/dual-edge-max-data-rate
Browse files Browse the repository at this point in the history
Fix bug where decoding with dual edge could not handle single-sample-wide pulses
  • Loading branch information
Marcus10110 authored Nov 14, 2024
2 parents 0bdb5b8 + dae28a4 commit 3c7688a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SimpleParallelAnalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ void SimpleParallelAnalyzer::DecodeBothEdges()
if( has_pending_frame )
{
// store the previous frame.
progress_update = AddFrame( previous_value, previous_sample, location - 1 );
uint64_t ending_sample_inclusive = location;
progress_update = AddFrame( previous_value, previous_sample, ending_sample_inclusive );
has_pending_frame = false;
}
if( found_next_edge )
Expand Down

0 comments on commit 3c7688a

Please sign in to comment.