Skip to content

Commit

Permalink
made normal and extended Identifiers have the same FrameV2 type, with…
Browse files Browse the repository at this point in the history
… the extended version including a boolean flag.
  • Loading branch information
Marcus10110 committed Jun 2, 2020
1 parent f21fd58 commit 209e33a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CanAnalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,9 @@ void CanAnalyzer::AnalizeRawFrame()

frame.mData1 = mIdentifier;
frame_v2_identifier.AddInteger( "Identifier", mIdentifier );
frame_v2_identifier.AddBoolean( "Extended", true );
mResults->AddFrame( frame );
mResults->AddFrameV2( frame_v2_identifier, "IdentifierFieldEx", frame.mStartingSampleInclusive, frame.mEndingSampleInclusive );
mResults->AddFrameV2( frame_v2_identifier, "IdentifierField", frame.mStartingSampleInclusive, frame.mEndingSampleInclusive );
}


Expand Down

0 comments on commit 209e33a

Please sign in to comment.