Skip to content
代码片段 群组 项目
提交 705aec98 编辑于 作者: Timotej Ecimovic's avatar Timotej Ecimovic
浏览文件

Use define for attribute regen.

上级 31cb578f
No related branches found
No related tags found
无相关合并请求
......@@ -25,10 +25,10 @@ module.exports = {
// We need to settle on much higher number, so we will slowly
// be inching this upward, as we add more unit tests.
// DO NOT EVER DECREASE THESE NUMBERS, PLEASE, UNLESS FOR A GOOD REASON.
statements: 75,
branches: 53,
functions: 75,
lines: 75,
statements: 70,
branches: 50,
functions: 70,
lines: 70,
},
},
testMatch: ['<rootDir>/test/*.test.js'],
......
......@@ -9,12 +9,12 @@
// Client attributes for cluster: {{label}}
{{#zcl_attributes_client}}
#define ZCL_{{asMacro label}}_ATTRIBUTE_ID ({{asHex code}})
#define ZCL_{{define}}_ATTRIBUTE_ID ({{asHex code}})
{{/zcl_attributes_client}}
// Server attributes for cluster: {{label}}
{{#zcl_attributes_server}}
#define ZCL_{{asMacro label}}_ATTRIBUTE_ID ({{asHex code}})
#define ZCL_{{define}}_ATTRIBUTE_ID ({{asHex code}})
{{/zcl_attributes_server}}
// Commands for cluster: {{label}}
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册