Skip to content

Commit

Permalink
add support for struct type ovveride
Browse files Browse the repository at this point in the history
  • Loading branch information
rus084 committed May 15, 2023
1 parent 869c925 commit 971e362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-electron/generator/helper-c.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ async function asUnderlyingTypeHelper(dataType, context, packageIds) {
dataType &&
dataType.discriminatorName.toLowerCase() == dbEnum.zclType.struct
) {
return dataType.name
return context.global.overridable.structType()
} else if (
dataType &&
dataType.discriminatorName.toLowerCase() == dbEnum.zclType.string
Expand Down

0 comments on commit 971e362

Please sign in to comment.