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:
Sven Ebenfeld 2021-02-07 20:33:09 +01:00
parent 50adf2d003
commit f52cb12b77
1 changed files with 6 additions and 1 deletions

View File

@ -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) {