| Index: utility/tlcl_generator.c
|
| diff --git a/utility/tlcl_generator.c b/utility/tlcl_generator.c
|
| index 96a23dd1c8d8ab259ee962e4525d84e188ac9aa3..efb0f341df758d7544febe224e4a471d3d413946 100644
|
| --- a/utility/tlcl_generator.c
|
| +++ b/utility/tlcl_generator.c
|
| @@ -431,7 +431,7 @@ void OutputCommands(Command* cmd) {
|
| if (cmd == NULL) {
|
| return;
|
| } else {
|
| - printf("struct s_%s{\n uint8_t buffer[%d];\n",
|
| + printf("const struct s_%s{\n uint8_t buffer[%d];\n",
|
| cmd->name, cmd->size == 0 ? cmd->max_size : cmd->size);
|
| OutputFields(cmd->fields);
|
| printf("} %s = {{", cmd->name);
|
|
|