Skip to content

Commit

Permalink
fixed positive edge decoding.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus10110 committed Jan 27, 2023
1 parent 8934691 commit dc343bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SimpleParallelAnalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void SimpleParallelAnalyzer::WorkerThread()
if( mClock->GetBitState() == BIT_LOW )
mClock->AdvanceToNextEdge();
}
else if( mSettings->mClockEdge == ParallelAnalyzerClockEdge::NegEdge )
else if( mSettings->mClockEdge == ParallelAnalyzerClockEdge::PosEdge )
{
if( mClock->GetBitState() == BIT_HIGH )
mClock->AdvanceToNextEdge();
Expand Down

0 comments on commit dc343bc

Please sign in to comment.