mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
Altered the CDC Deivice and Host Class drivers' receive byte routines, so that no data is indicated by a negative return value.
Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer.
This commit is contained in:
@@ -41,6 +41,8 @@
|
||||
* - Internal USB driver source files renamed and moved to ease future possible architecture ports
|
||||
* - All internal pseudo-function macros have been converted to true inline functions for type-safety and readability
|
||||
* - Changed LED indicator masks for the AVRISP-MKII project, so that there are defined roles for each LED
|
||||
* - Altered the CDC Deivice and Host Class drivers' receive byte routines, so that no data is indicated by a negative return value
|
||||
* - Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer
|
||||
*
|
||||
* <b>Fixed:</b>
|
||||
* - Fixed AVRISP project sending a LOAD EXTENDED ADDRESS command to 128KB AVRs after programming or reading from
|
||||
|
||||
@@ -32,6 +32,16 @@
|
||||
* enhanced \ref USB_Device_SendRemoteWakeup() function. Existing code may now discard any checks to USB_Device_IsRemoteWakeupSent().
|
||||
* - The USB_Device_IsUSBSuspended() macro has been removed, as it is obsolete. Existing code should compare \ref USB_DeviceState
|
||||
* to see if it the device is in the \ref DEVICE_STATE_Suspended state instead.
|
||||
* - The \ref CDC_Device_ReceiveByte() function has changed, and now returns a signed 16-bit integer, with -1 indicating no data was
|
||||
* received. This allows for more efficient coding, as a call to \ref CDC_Device_BytesReceived() is no longer needed if the exact
|
||||
* number of queued bytes received is not needed.
|
||||
*
|
||||
* <b>Host Mode</b>
|
||||
* - The \ref CDC_Host_ReceiveByte() function has changed, and now returns a signed 16-bit integer, with -1 indicating no data was
|
||||
* received. This allows for more efficient coding, as a call to \ref CDC_Device_BytesReceived() is no longer needed if the exact
|
||||
* number of queued bytes received is not needed.
|
||||
* - The \ref CDC_Host_USBTask() now calls \ref CDC_Host_Flush() automatically, flushing any queued data to the attached device. Manual
|
||||
* flushing of the interface is no longer needed if the flushes should be in sync with calls to \ref CDC_Host_USBTask().
|
||||
*
|
||||
* \section Sec_Migration100513 Migrating from 100219 to 100513
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user