SCSISoftUSB bug fix
Colin (478) 2433 posts |
in mixed.RiscOS.Sources.HWSupport.SCSI.SCSISoftUSB.c.glue you have
As you can see the values passed to the sprintf statement are the wrong way around for interface and alternate. |
Sprow (202) 1158 posts |
Well spotted! Interestingly it was right originally, but they were swapped for some (unknown) reason perhaps to workaround the DeviceFS parsing problem. Seems a bit silly to not track down the actual problem when what was written in the sprintf statement was clearly right before. I changed the formatter so that the special string is in the same order as the USB module template, to sidestep the DeviceFS problem if loaded on earlier machines (the SCSISoftUSB module pops out in the disc image for pre 5.18). The “usbdi.c” change from a few weeks back is on ice until the 5.20 freeze is lifted. |
Colin (478) 2433 posts |
You’ve reverted to the original format string. The USB module template is
so endpoint wants to be at the beginning (and the order of the args changed) for it to work with 5.18 |