mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-22 18:26:30 +00:00
Update xsns_53_sml.ino
This commit is contained in:
parent
8b23b1a072
commit
9be1758f61
@ -917,6 +917,7 @@ void Dump2log(void) {
|
|||||||
c=SML_SREAD;
|
c=SML_SREAD;
|
||||||
if (c==EBUS_SYNC) {
|
if (c==EBUS_SYNC) {
|
||||||
index = 0;
|
index = 0;
|
||||||
|
AddLogData(LOG_LEVEL_INFO, log_data);
|
||||||
}
|
}
|
||||||
sprintf(&log_data[index],"%02x ",c);
|
sprintf(&log_data[index],"%02x ",c);
|
||||||
if (index<sizeof(log_data)-3) {
|
if (index<sizeof(log_data)-3) {
|
||||||
@ -939,7 +940,7 @@ void Dump2log(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (index>2) {
|
if (index>2 && (meter_desc_p[(dump2log&7)-1].type!='v')) {
|
||||||
log_data[index]=0;
|
log_data[index]=0;
|
||||||
AddLogData(LOG_LEVEL_INFO, log_data);
|
AddLogData(LOG_LEVEL_INFO, log_data);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user