Skip to content

Commit

Permalink
fixed SetupResults to use Settings instead of uninitialized data members
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus10110 committed Mar 23, 2021
1 parent 86045d6 commit 9ad3d9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/JtagAnalyzer.cpp
Expand Up @@ -194,9 +194,9 @@ void JtagAnalyzer::SetupResults()

// set which channels will carry bubbles
mResults->AddChannelBubblesWillAppearOn( mSettings.mTmsChannel );
if( mTdi != NULL )
if( mSettings.mTdiChannel != UNDEFINED_CHANNEL )
mResults->AddChannelBubblesWillAppearOn( mSettings.mTdiChannel );
if( mTdo != NULL )
if( mSettings.mTdoChannel != UNDEFINED_CHANNEL )
mResults->AddChannelBubblesWillAppearOn( mSettings.mTdoChannel );
}

Expand Down

0 comments on commit 9ad3d9d

Please sign in to comment.