Skip to content

Commit

Permalink
Fix extra bracket in .h file for static compound arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
bel-lau authored and tridge committed Jul 16, 2024
1 parent a8ef2eb commit e5818c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/msg.h.em
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ bool _@(msg_underscored_name)_decode(const CanardRxTransfer* transfer, uint32_t*
@[ end if]@
@{indent -= 1}@{ind = ' '*indent}@
@(ind)}
@[ if field.type.value_type.category == field.type.value_type.CATEGORY_COMPOUND]@
@[ if field.type.value_type.category == field.type.value_type.CATEGORY_COMPOUND and field.type.mode == field.type.MODE_DYNAMIC]@
@{indent -= 1}@{ind = ' '*indent}@
@(ind)}
@[ end if]@
Expand Down

0 comments on commit e5818c5

Please sign in to comment.