GitLab has been upgraded to 13.3.6. If you encounter any issues mail code@riscosopen.org

Commit cca81a1d authored by ROOL's avatar ROOL 🤖

Defined return on error

Detail:
  Ensure the returned status is defined if USBDriver_InsertTransfer fails (because USBDriver has gone).
  See similar in DWCDriver-0_34.

Version 0.35. Tagged as 'MUSBDriver-0_35'
parent e9c15a2c
/* (0.34)
/* (0.35)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.34
#define Module_MajorVersion_CMHG 0.35
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 25 Nov 2017
#define Module_Date_CMHG 27 Jan 2018
#define Module_MajorVersion "0.34"
#define Module_Version 34
#define Module_MajorVersion "0.35"
#define Module_Version 35
#define Module_MinorVersion ""
#define Module_Date "25 Nov 2017"
#define Module_Date "27 Jan 2018"
#define Module_ApplicationDate "25-Nov-17"
#define Module_ApplicationDate "27-Jan-18"
#define Module_ComponentName "MUSBDriver"
#define Module_ComponentPath "mixed/RiscOS/Sources/HWSupport/USB/Controllers/MUSBDriver"
#define Module_FullVersion "0.34"
#define Module_HelpVersion "0.34 (25 Nov 2017)"
#define Module_LibraryVersionInfo "0:34"
#define Module_FullVersion "0.35"
#define Module_HelpVersion "0.35 (27 Jan 2018)"
#define Module_LibraryVersionInfo "0:35"
......@@ -273,7 +273,7 @@ callout_reset (struct callout *c, int i, void (*f)(void *), void *v) {
usbd_status
usb_insert_transfer(usbd_xfer_handle xfer)
{
usbd_status status;
usbd_status status = USBD_CANCELLED; /* Should _swix() error */
_swix (USBDriver_InsertTransfer, _IN (0) | _OUT (0), xfer, &status);
return status;
}
......
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