mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 19:26:37 +00:00
better vbus dump
This commit is contained in:
parent
16a30bd12e
commit
8b23b1a072
@ -912,6 +912,16 @@ void Dump2log(void) {
|
|||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
} else if (meter_desc_p[(dump2log&7)-1].type=='v') {
|
||||||
|
// vbus
|
||||||
|
c=SML_SREAD;
|
||||||
|
if (c==EBUS_SYNC) {
|
||||||
|
index = 0;
|
||||||
|
}
|
||||||
|
sprintf(&log_data[index],"%02x ",c);
|
||||||
|
if (index<sizeof(log_data)-3) {
|
||||||
|
index+=3;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// sml
|
// sml
|
||||||
if (sml_start==0x77) {
|
if (sml_start==0x77) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user