--- a/mqtt/mqtt_client_gen.py Wed Sep 25 11:10:33 2024 +0200
+++ b/mqtt/mqtt_client_gen.py Thu Sep 26 09:40:09 2024 +0200
@@ -441,7 +441,6 @@
# to be sorted with base types in last position
basetypes.append(datatype)
infos = datatype_info_getter(datatype)
- print(infos)
element_type = infos["type"]
if element_type == "Structure":
structures.add(datatype)
--- a/mqtt/mqtt_template.c Wed Sep 25 11:10:33 2024 +0200
+++ b/mqtt/mqtt_template.c Thu Sep 26 09:40:09 2024 +0200
@@ -141,8 +141,6 @@
static void scan_string(const char *str, int len, void *user_data) {{
IEC_STRING *iecstr = (IEC_STRING*)user_data;
__strlen_t ieclen = len > STR_MAX_LEN ? STR_MAX_LEN : len;
- printf("%.*s", len, str);
- printf("%.*s", ieclen, str);
memcpy(iecstr->body, str, ieclen);
iecstr->len = ieclen;
}}