Let MIB compiler generate const structs, too (see last commit)

This commit is contained in:
Dirk Ziegelmeier 2016-02-17 08:14:16 +01:00
parent 24bc77a935
commit cf3d7def33

View File

@ -119,7 +119,7 @@ namespace LwipSnmpCodeGeneration
}
VariableDeclaration subnodeArray = new VariableDeclaration(
new VariableType(this.Name + "_subnodes", LwipDefs.Vt_StNode, "*", ConstType.Value, String.Empty),
new VariableType(this.Name + "_subnodes", LwipDefs.Vt_StNode, "*", ConstType.Both, String.Empty),
"{\n" + subnodeArrayInitialization + "\n}",
isStatic: true);