serial_stream_detect(): Make a code comment more generic.

This commit is contained in:
Uwe Hermann 2018-10-14 19:01:59 +02:00
parent d10781808d
commit 59cae77e28
1 changed files with 1 additions and 1 deletions

View File

@ -718,7 +718,7 @@ SR_PRIV int serial_stream_detect(struct sr_serial_dev_inst *serial,
GString *text; GString *text;
/* We have at least a packet's worth of data. */ /* We have at least a packet's worth of data. */
text = sr_hexdump_new(&buf[i], packet_size); text = sr_hexdump_new(&buf[i], packet_size);
sr_spew("Trying DMM packet: %s", text->str); sr_spew("Trying packet: %s", text->str);
sr_hexdump_free(text); sr_hexdump_free(text);
if (is_valid(&buf[i])) { if (is_valid(&buf[i])) {
sr_spew("Found valid %zu-byte packet after " sr_spew("Found valid %zu-byte packet after "