]> sigrok.org Git - libsigrok.git/commit
serial_stream_detect: Make read nonblocking.
authorMartin Ling <redacted>
Sun, 21 Sep 2014 20:26:36 +0000 (21:26 +0100)
committerUwe Hermann <redacted>
Wed, 24 Sep 2014 21:18:20 +0000 (23:18 +0200)
commit18e4d5bc45ec5571270040df5433fd7f6b79e03e
tree11a0d2c7c57b9028a0e0f1be94945ad04ebd6f75
parent2fe6210af6a1e8028967fa267dac9429b7952eef
serial_stream_detect: Make read nonblocking.

This code implements its own waiting based on baudrate, so the read itself
should be nonblocking. In general it will have been already, since drivers
almost universally use the SERIAL_NONBLOCK flag.
src/serial.c