diff options
| author | hathach <[email protected]> | 2013-01-19 00:57:58 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-01-19 00:57:58 +0700 |
| commit | cfe7a3d23b4639c3578b166fc865450bc439d82c (patch) | |
| tree | 7a831618538324b04bfd9e0f918a78a0aea92b34 /tinyusb/class/cdc.h | |
| parent | d8c8b9e38ad94ab84c24f22c2ecb79ce4d78b7ba (diff) | |
change error type to lower case for more consistency
change Error Enum to TUSB prefix for more consistency
start to add check for OS configure
Diffstat (limited to 'tinyusb/class/cdc.h')
| -rw-r--r-- | tinyusb/class/cdc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/class/cdc.h b/tinyusb/class/cdc.h index e4660d9b0..a33ec594b 100644 --- a/tinyusb/class/cdc.h +++ b/tinyusb/class/cdc.h @@ -101,7 +101,7 @@ uint16_t tusb_cdc_recv(uint8_t* buffer, uint16_t max); * \return Error Code of the \ref TUSB_ERROR enum * \note */ -TUSB_Error_t tusb_cdc_init(USBD_HANDLE_T hUsb, USB_INTERFACE_DESCRIPTOR const *const pControlIntfDesc, USB_INTERFACE_DESCRIPTOR const *const pDataIntfDesc, uint32_t* mem_base, uint32_t* mem_size); +tusb_error_t tusb_cdc_init(USBD_HANDLE_T hUsb, USB_INTERFACE_DESCRIPTOR const *const pControlIntfDesc, USB_INTERFACE_DESCRIPTOR const *const pDataIntfDesc, uint32_t* mem_base, uint32_t* mem_size); /** \brief notify cdc driver that usb is configured * @@ -110,7 +110,7 @@ TUSB_Error_t tusb_cdc_init(USBD_HANDLE_T hUsb, USB_INTERFACE_DESCRIPTOR const *c * \return Error Code of the \ref TUSB_ERROR enum * \note */ -TUSB_Error_t tusb_cdc_configured(USBD_HANDLE_T hUsb); +tusb_error_t tusb_cdc_configured(USBD_HANDLE_T hUsb); #endif #endif |
