From 9be1758f61628be33e7e58d88afc2d263defa3dc Mon Sep 17 00:00:00 2001 From: gemu2015 Date: Wed, 24 Feb 2021 10:20:03 +0100 Subject: [PATCH] Update xsns_53_sml.ino --- tasmota/xsns_53_sml.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasmota/xsns_53_sml.ino b/tasmota/xsns_53_sml.ino index ea050d862..2f66eee1d 100755 --- a/tasmota/xsns_53_sml.ino +++ b/tasmota/xsns_53_sml.ino @@ -917,6 +917,7 @@ void Dump2log(void) { c=SML_SREAD; if (c==EBUS_SYNC) { index = 0; + AddLogData(LOG_LEVEL_INFO, log_data); } sprintf(&log_data[index],"%02x ",c); if (index2) { + if (index>2 && (meter_desc_p[(dump2log&7)-1].type!='v')) { log_data[index]=0; AddLogData(LOG_LEVEL_INFO, log_data); }