diff --git a/drivers/external_device_manager/usb/usb_ddk_types.h b/drivers/external_device_manager/usb/usb_ddk_types.h index a0cb5e5b1..8c51cd726 100644 --- a/drivers/external_device_manager/usb/usb_ddk_types.h +++ b/drivers/external_device_manager/usb/usb_ddk_types.h @@ -298,6 +298,10 @@ typedef struct UsbDeviceMemMap { typedef enum { /** @error The operation is successful. */ USB_DDK_SUCCESS = 0, + /** @error The operation failed. + * @deprecate since 14 + */ + USB_DDK_FAILED = -1, /** @error Permission denied. */ USB_DDK_NO_PERM = 201, /** @error Invalid parameter. */ @@ -306,6 +310,14 @@ typedef enum { * or memory application failure. */ USB_DDK_MEMORY_ERROR = 27400001, + /** @error Null pointer exception + * @deprecate since 14 + */ + USB_DDK_NULL_PTR = -5, + /** @error Device busy. + * @deprecate since 14 + */ + USB_DDK_DEVICE_BUSY = -6, /** @error Invalid operation. */ USB_DDK_INVALID_OPERATION = 27400002, /** @error Device I/O operation failed. */