Browse Source

Always set return value for parallel ports

This fixes a crash in ISE 12 but does not lead to working parallel
port suppoet
master
Michael Gernoth 15 years ago
parent
commit
4c90fa3933
  1. 1
      usb-driver.c

1
usb-driver.c

@ -115,6 +115,7 @@ static int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) {
#ifndef NO_WINDRVR
ret = (*ioctl_func) (fd, request, wdioctl);
#else
cr->hCard = 0;
pport = config_get((unsigned long)cr->Card.Item[0].I.IO.dwAddr / 0x10);
if (!pport)

Loading…
Cancel
Save