Commit 207e02cb authored by Claes Sjofors's avatar Claes Sjofors

USB Joystick bugfix

parent f6072057
......@@ -265,8 +265,6 @@ static pwr_tStatus IoCardRead( io_tCtx ctx,
int value;
while (1) {
while ( read( local->fd, &js, sizeof(struct js_event)) == sizeof(struct js_event)) {
// printf("Event: type %d, time %d, number %d, value %d\n", js.type, js.time, js.number, js.value);
......@@ -333,7 +331,6 @@ static pwr_tStatus IoCardRead( io_tCtx ctx,
if (errno != EAGAIN) {
op->ErrorCount++;
}
}
if ( op->ErrorCount == op->ErrorSoftLimit) {
errh_Warning( "IO Card ErrorSoftLimit reached, '%s'", cp->Name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment