# HG changeset patch # User Edouard Tisserant # Date 1727336409 -7200 # Node ID 07504d4c40eea9f7e1c4b0fd6ce6b91e766ca843 # Parent 205d5379b35e21362a4b021849eaa5d87c45ceac MQTT: remove debug prints diff -r 205d5379b35e -r 07504d4c40ee mqtt/mqtt_client_gen.py --- 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) diff -r 205d5379b35e -r 07504d4c40ee mqtt/mqtt_template.c --- 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; }}