]> sigrok.org Git - libserialport.git/commit - serialport.c
Fix ERROR_SEM_TIMEOUT issue on Windows.
authorUwe Hermann <redacted>
Wed, 27 Jan 2016 07:19:38 +0000 (08:19 +0100)
committerUwe Hermann <redacted>
Wed, 27 Jan 2016 11:35:45 +0000 (12:35 +0100)
commitaee7d69195e25fb9e7b250e85df0b50368ddc810
tree73a8855937cf48f023e94c46f36e556794dd0cc3
parent888fb45d66aada134f36fa9129499ec180161c0a
Fix ERROR_SEM_TIMEOUT issue on Windows.

The sp_blocking_write() call was incorrectly returning an error upon
ERROR_SEM_TIMEOUT. It now returns 0 instead.
serialport.c