- Major changes folling the rework of the connection object

- Added support for galil controllers
This commit is contained in:
koennecke
2009-02-03 08:07:30 +00:00
parent 9374bea841
commit 6c7bb14fad
29 changed files with 364 additions and 139 deletions

View File

@ -40,7 +40,10 @@ int JulchoHandler(Ascon *a){
case AsconReading:
ret = AsconReadChar(a->fd, &chr);
if(ret < 0){
AsconError(a, "AsconReadChar failed:", errno);
/* EINTR means we must retry */
if(errno != EINTR && errno != EAGAIN){
AsconError(a, "AsconReadChar failed:", errno);
}
return 1;
} else if (ret > 0) {
a->start = DoubleTime();