clean up warnings here and there

This commit is contained in:
hathach
2013-10-02 14:20:05 +07:00
parent 1263dbb122
commit 6f9172c15f
13 changed files with 56 additions and 58 deletions

View File

@@ -36,7 +36,7 @@
*/
/**************************************************************************/
/**
/**
* \addtogroup Group_ClassDriver Class Driver
* @{
* \defgroup Group_HID Human Interface Device
@@ -293,7 +293,7 @@ enum USB_HID_LOCAL_CODE
#define HID_REPORT_DATA_3(data) , U32_TO_U8S_LE(data)
#define HID_REPORT_ITEM(data, tag, type, size) \
((tag << 4) | (type << 2) | size) HID_REPORT_DATA_##size(data)
(((tag) << 4) | ((type) << 2) | (size)) HID_REPORT_DATA_##size(data)
#define RI_TYPE_MAIN 0
#define RI_TYPE_GLOBAL 1