加上@error标记

Signed-off-by: shilong <dragon.shilong@huawei.com>
This commit is contained in:
shilong 2024-11-14 12:08:09 +00:00 committed by Gitee
parent 25a5c0ee4a
commit aa1df25dab
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 14 additions and 14 deletions

View File

@ -589,19 +589,19 @@ typedef struct Hid_EventProperties {
* @version 1.0
*/
typedef enum {
/** Operation successful */
/** @error Operation successful */
HID_DDK_SUCCESS = 0,
/** Permission denied */
/** @error Permission denied */
HID_DDK_NO_PERM = 201,
/** Invalid parameter */
/** @error Invalid parameter */
HID_DDK_INVALID_PARAMETER = 401,
/** Operation failed */
/** @error Operation failed */
HID_DDK_FAILURE = 27300001,
/** Null pointer exception */
/** @error Null pointer exception */
HID_DDK_NULL_PTR = 27300002,
/** Invalid operation */
/** @error Invalid operation */
HID_DDK_INVALID_OPERATION = 27300003,
/** Timeout */
/** @error Timeout */
HID_DDK_TIMEOUT = 27300004,
} Hid_DdkErrCode;
#ifdef __cplusplus

View File

@ -296,20 +296,20 @@ typedef struct UsbDeviceMemMap {
* @version 1.0
*/
typedef enum {
/** The operation is successful. */
/** @error The operation is successful. */
USB_DDK_SUCCESS = 0,
/** Permission denied. */
/** @error Permission denied. */
USB_DDK_NO_PERM = 201,
/** Invalid parameter. */
/** @error Invalid parameter. */
USB_DDK_INVALID_PARAMETER = 401,
/** Memory-related error, for example, insufficient memory, memory data copy failure, or memory application failure.
/** @error Memory-related error, for example, insufficient memory, memory data copy failure, or memory application failure.
*/
USB_DDK_MEMORY_ERROR = 27400001,
/** Invalid operation. */
/** @error Invalid operation. */
USB_DDK_INVALID_OPERATION = 27400002,
/** I/O error */
/** @error I/O error */
USB_DDK_IO_FAILED = 27400003,
/** Transmission timeout. */
/** @error Transmission timeout. */
USB_DDK_TIMEOUT = 27400004,
} UsbDdkErrCode;
#ifdef __cplusplus