mirror of https://github.com/arendst/Tasmota.git
xsns_53_sml: add option to emit ebus sync only telegrams
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com>
This commit is contained in:
parent
50adf2d003
commit
f52cb12b77
|
@ -904,7 +904,12 @@ void Dump2log(void) {
|
||||||
c=SML_SREAD;
|
c=SML_SREAD;
|
||||||
sprintf(&log_data[index],"%02x ",c);
|
sprintf(&log_data[index],"%02x ",c);
|
||||||
index+=3;
|
index+=3;
|
||||||
if (c==EBUS_SYNC) break;
|
if (c==EBUS_SYNC) {
|
||||||
|
#if SML_EBUS_SKIP_SYNC_DUMPS
|
||||||
|
index = index == 5 ? 0 : index;
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// sml
|
// sml
|
||||||
if (sml_start==0x77) {
|
if (sml_start==0x77) {
|
||||||
|
|
Loading…
Reference in New Issue