diff --git a/TimeoutSerial.cpp b/TimeoutSerial.cpp index 1bf3a11..eeb926e 100755 --- a/TimeoutSerial.cpp +++ b/TimeoutSerial.cpp @@ -255,7 +255,11 @@ void TimeoutSerial::readCompleted(const boost::system::error_code& error, return; } #else //Linux - if(error.value()==125 || error.value() == 158) return; //Linux outputs error 125 + if(error.value()==125) return; //Linux outputs error 125 + if (error.value()==158) { + performReadSetup(setupParameters); + return; + } #endif result=resultError; diff --git a/openwrt/Makefile b/openwrt/Makefile index 7e32416..38d7da4 100644 --- a/openwrt/Makefile +++ b/openwrt/Makefile @@ -7,8 +7,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=usbserial-dw -PKG_VERSION:=0.2.3 -PKG_RELEASE:=9 +PKG_VERSION:=0.2.4 +PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://git.bh.ttx.sk/jaro/usbserial-dw.git