Skip to content

Commit

Permalink
Refs #19236: apply review suggestion
Browse files Browse the repository at this point in the history
Signed-off-by: JLBuenoLopez-eProsima <[email protected]>
  • Loading branch information
JLBuenoLopez committed Sep 13, 2023
1 parent 92919e6 commit 122aa1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ void $if(bitmask.hasScope)$$bitmask.scope$::$endif$print$bitmask.name$(
$bitmask.name$* topic)
{
printf("$bitmask.scopedname$: { \n");
$bitmask.members:{ member | printf("$member.name$: %s\n", *topic & $bitmask.name$Bits::$member.name$ == $bitmask.name$Bits::$member.name$ ? "true" : "false");}; separator="\n"$
$bitmask.members:{ member | printf("$member.name$: %s\n", ((*topic & $bitmask.name$Bits::$member.name$) == $bitmask.name$Bits::$member.name$) ? "true" : "false");}; separator="\n"$
}

void $if(bitmask.hasScope)$$bitmask.scope$::$endif$initialize$bitmask.name$(
Expand Down

0 comments on commit 122aa1b

Please sign in to comment.