{ \r
Endpoint_ClearSETUP();\r
\r
- CDCInterfaceInfo->State.ControlLineState = USB_ControlRequest.wValue;\r
+ CDCInterfaceInfo->State.ControlLineStates.HostToDevice = USB_ControlRequest.wValue;\r
\r
EVENT_CDC_Device_ControLineStateChanged(CDCInterfaceInfo);\r
\r
return DataByte;\r
}\r
\r
-void CDC_Device_SendControlLineStateChange(USB_ClassInfo_CDC_Device_t* CDCInterfaceInfo, uint16_t LineStateMask)\r
+void CDC_Device_SendControlLineStateChange(USB_ClassInfo_CDC_Device_t* CDCInterfaceInfo)\r
{\r
if (!(USB_IsConnected))\r
return;\r
};\r
\r
Endpoint_Write_Stream_LE(&Notification, sizeof(Notification), NO_STREAM_CALLBACK);\r
- Endpoint_Write_Stream_LE(&LineStateMask, sizeof(LineStateMask), NO_STREAM_CALLBACK);\r
+ Endpoint_Write_Stream_LE(&CDCInterfaceInfo->State.ControlLineStates.DeviceToHost, sizeof(uint8_t), NO_STREAM_CALLBACK);\r
Endpoint_ClearIN();\r
}\r
\r