From: Frank Mori Hess Date: Sat, 6 Dec 2008 15:43:23 +0000 (+0000) Subject: Fixed bug in firmware loading with multiple usbduxfast boards. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=da16ec9ddd7716ac98621904195814deed3d4981;p=comedi.git Fixed bug in firmware loading with multiple usbduxfast boards. --- diff --git a/comedi/drivers/usbduxfast.c b/comedi/drivers/usbduxfast.c index 57e30de3..f1526ebd 100644 --- a/comedi/drivers/usbduxfast.c +++ b/comedi/drivers/usbduxfast.c @@ -1607,7 +1607,7 @@ static int usbduxfast_attach(comedi_device * dev, comedi_devconfig * it) // trying to upload the firmware into the chip if (comedi_aux_data(it->options, 0) && it->options[COMEDI_DEVCONF_AUX_DATA_LENGTH]) { - read_firmware(usbduxfastsub, + read_firmware(&usbduxfastsub[index], comedi_aux_data(it->options, 0), it->options[COMEDI_DEVCONF_AUX_DATA_LENGTH]); }