diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-02-24 15:46:58 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-02-24 15:46:58 +0000 |
commit | cfa48f5987ee00f1ef44959cedc6e5248f2bdfb9 (patch) | |
tree | 66a72828750019b8e6f392ccae8f1b984f3e5469 /LUFA/Drivers/USB/Class/Device/CDCClassDevice.h | |
parent | 2b4658de2c1012a465035a8015c13762334088ac (diff) | |
download | lufa-cfa48f5987ee00f1ef44959cedc6e5248f2bdfb9.tar.gz lufa-cfa48f5987ee00f1ef44959cedc6e5248f2bdfb9.tar.bz2 lufa-cfa48f5987ee00f1ef44959cedc6e5248f2bdfb9.zip |
Changed all *_SendByte() function prototypes to accept a void pointer for the input buffer (thanks to Simon Küppers) instead of a uint8_t pointer.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Device/CDCClassDevice.h')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/CDCClassDevice.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h b/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h index b98041d8a..1f259f381 100644 --- a/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h +++ b/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h @@ -100,7 +100,7 @@ struct { uint8_t ControlInterfaceNumber; /**< Interface number of the CDC control interface within the device. */ - + USB_Endpoint_Table_t DataINEndpoint; /**< Data IN endpoint configuration table. */ USB_Endpoint_Table_t DataOUTEndpoint; /**< Data OUT endpoint configuration table. */ USB_Endpoint_Table_t NotificationEndpoint; /**< Notification IN Endpoint configuration table. */ @@ -197,7 +197,7 @@ * \return A value from the \ref Endpoint_Stream_RW_ErrorCodes_t enum. */ uint8_t CDC_Device_SendData(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, - const char* const Buffer, + const void* const Buffer, const uint16_t Length) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); /** Sends a given null terminated string to the attached USB host, if connected. If a host is not connected when @@ -316,7 +316,7 @@ void CDC_Device_CreateBlockingStream(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, FILE* const Stream) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); #endif - + /* Private Interface - For use in library only: */ #if !defined(__DOXYGEN__) /* Function Prototypes: */ |