]> sigrok.org Git - libsigrok.git/commit
serial.c: Re-enable serial_read() error reporting.
authorUwe Hermann <redacted>
Tue, 26 Nov 2013 15:29:43 +0000 (16:29 +0100)
committerUwe Hermann <redacted>
Tue, 26 Nov 2013 15:29:43 +0000 (16:29 +0100)
commitc4d85a4026cd9c593521a635b1e477aac15eb86a
tree62566d438d95dd2d3ce4f7f80657246399e00f6e
parent25b66c3c61629d2c679d3c1b6dea9e4a0c9f1a1e
serial.c: Re-enable serial_read() error reporting.

libserialport now returns 0 (not SP_ERR_FAIL) as return value when a
non-blocking read would return EAGAIN.

This fixes bug #188.
hardware/common/serial.c