diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-10 07:05:26 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-10 07:05:26 +0000 |
commit | 81b618be2376bc790a39db5ac40f7e86ba822ef2 (patch) | |
tree | 257b646f91f8d397c7a81808eb0a4c459630c978 /LUFA/Drivers | |
parent | e918d977b1d4465d525ee0f742dbdeec20f7885c (diff) | |
download | lufa-81b618be2376bc790a39db5ac40f7e86ba822ef2.tar.gz lufa-81b618be2376bc790a39db5ac40f7e86ba822ef2.tar.bz2 lufa-81b618be2376bc790a39db5ac40f7e86ba822ef2.zip |
Revert changed CDC_Device_Flush() prototype accidentially changed in the last commit.
Diffstat (limited to 'LUFA/Drivers')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/CDC.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/CDC.h b/LUFA/Drivers/USB/Class/Device/CDC.h index 605c3b7e9..5905474ce 100644 --- a/LUFA/Drivers/USB/Class/Device/CDC.h +++ b/LUFA/Drivers/USB/Class/Device/CDC.h @@ -192,8 +192,10 @@ /** Flushes any data waiting to be sent, ensuring that the send buffer is cleared.
*
* \param[in,out] CDCInterfaceInfo Pointer to a structure containing a CDC Class configuration and state.
+ *
+ * \return A value from the \ref Endpoint_WaitUntilReady_ErrorCodes_t enum
*/
- void CDC_Device_Flush(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1);
+ uint8_t CDC_Device_Flush(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1);
/** Sends a Serial Control Line State Change notification to the host. This should be called when the virtual serial
* control lines (DCD, DSR, etc.) have changed states, or to give BREAK notfications to the host. Line states persist
|