Idwer noticed a few problems... these patches try to fix them. Idwer please try one at the time and report if they work as intended: the first one should fix the "no error" message, the second one should stop the loop after 10k tries, the third one should fix the underlying problem for good.
Stefan Tauner (3): Fix error message in sp_openserport(). Break endless loop in serialport_write(). Fix sp_openserport users on Windows.
buspirate_spi.c | 2 +- pony_spi.c | 2 +- serial.c | 15 ++++++++++++--- serprog.c | 2 +- 4 files changed, 15 insertions(+), 6 deletions(-)