Fixed CDC class drivers not saving and sending all 16-bits of the control line states...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Device / CDC.h
index 6e188ad..b1eeb41 100644 (file)
                                {
                                        struct
                                        {
-                                               uint8_t HostToDevice; /**< Control line states from the host to device, as a set of \c CDC_CONTROL_LINE_OUT_*
-                                                                                          *   masks. This value is updated each time \ref CDC_Device_USBTask() is called.
-                                                                                          */
-                                               uint8_t DeviceToHost; /**< Control line states from the device to host, as a set of \c CDC_CONTROL_LINE_IN_*
-                                                                                          *   masks - to notify the host of changes to these values, call the
-                                                                                          *   \ref CDC_Device_SendControlLineStateChange() function.
-                                                                                          */
+                                               uint16_t HostToDevice; /**< Control line states from the host to device, as a set of \c CDC_CONTROL_LINE_OUT_*
+                                                                                           *   masks. This value is updated each time \ref CDC_Device_USBTask() is called.
+                                                                                           */
+                                               uint16_t DeviceToHost; /**< Control line states from the device to host, as a set of \c CDC_CONTROL_LINE_IN_*
+                                                                                           *   masks - to notify the host of changes to these values, call the
+                                                                                           *   \ref CDC_Device_SendControlLineStateChange() function.
+                                                                                           */
                                        } ControlLineStates; /**< Current states of the virtual serial port's control lines between the device and host. */
 
                                        CDC_LineEncoding_t LineEncoding; /** Line encoding used in the virtual serial port, for the device's information.