add tusbh_cdc_send, t usbh_cdc_receive

add cdc_serial_app for virtual com demo
This commit is contained in:
hathach
2013-07-02 16:41:13 +07:00
parent 51f894b0bf
commit 6ce90e2bd8
10 changed files with 204 additions and 12 deletions

View File

@@ -61,7 +61,7 @@ typedef struct {
//--------------------------------------------------------------------+
// USBH-CLASS DRIVER API
//--------------------------------------------------------------------+
STATIC_ INLINE_ bool tusbh_custom_is_mounted(uint8_t dev_addr, uint16_t vendor_id, uint16_t product_id);
STATIC_ INLINE_ bool tusbh_custom_is_mounted(uint8_t dev_addr, uint16_t vendor_id, uint16_t product_id) ATTR_PURE ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;
STATIC_ INLINE_ bool tusbh_custom_is_mounted(uint8_t dev_addr, uint16_t vendor_id, uint16_t product_id)
{
(void) vendor_id; // TODO check this later