clean up warnings here and there
This commit is contained in:
@@ -55,8 +55,8 @@
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
CDC_PIPE_ERROR,
|
||||
CDC_PIPE_NOTIFICATION = 1,
|
||||
CDC_PIPE_ERROR = 0,
|
||||
CDC_PIPE_NOTIFICATION,
|
||||
CDC_PIPE_DATA_IN,
|
||||
CDC_PIPE_DATA_OUT
|
||||
}cdc_pipeid_t;
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
@@ -401,8 +401,6 @@ tusb_error_t msch_open_subtask(uint8_t dev_addr, tusb_descriptor_interface_t con
|
||||
tusbh_msc_mounted_cb(dev_addr);
|
||||
|
||||
OSAL_SUBTASK_END
|
||||
|
||||
return TUSB_ERROR_NONE;
|
||||
}
|
||||
|
||||
void msch_isr(pipe_handle_t pipe_hdl, tusb_event_t event, uint32_t xferred_bytes)
|
||||
|
||||
Reference in New Issue
Block a user