We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82c79bf commit c6c1910Copy full SHA for c6c1910
plugins/dogma/dldprint.cxx
@@ -125,9 +125,9 @@ void print_tu(dogma::DogmaTu *tu, const char *prefix = "")
125
tdc5_parse_it it;
126
tdc5_time tm;
127
const char *buf = (const char *) tu;
128
- int len = (int) tu->GetSize();
129
- tdc5_parse_header(&h, &it, buf, len);
130
- while (tdc5_parse_next(&tm, &it, buf, len) == 1) {
+ int fulllen = (int) tu->GetSize();
+ tdc5_parse_header(&h, &it, buf, fulllen);
+ while (tdc5_parse_next(&tm, &it, buf, fulllen) == 1) {
131
printf("%s ch:%02u falling:%1d coarse:%016lu fine:%08u\n",
132
prefix, (unsigned) tm.channel, tm.is_falling,
133
(long unsigned) tm.coarse, (unsigned) tm.fine);
0 commit comments