]> sigrok.org Git - libsigrok.git/commit
serial.c: Sanitize serial_stream_detect
authorAlexandru Gagniuc <redacted>
Thu, 22 Nov 2012 01:18:21 +0000 (19:18 -0600)
committerAlexandru Gagniuc <redacted>
Thu, 22 Nov 2012 01:18:21 +0000 (19:18 -0600)
commit551c3d8ce36bebe02765c76ee4d04f4e700d61b2
treeacba291a6ff481b30006acc14cae7f5dfb4d6a96
parent8be8746951e5538147370d9871a4c1ed0268db52
serial.c: Sanitize serial_stream_detect

Print the timeout in miliseconds, not microseconds.
Only calculate elapsed time once oer loop.

Signed-off-by: Alexandru Gagniuc <redacted>
hardware/common/serial.c