Fix mismatched aliased event and event stub function prototypes.
This commit is contained in:
@ -231,12 +231,14 @@ void EVENT_CDC_Device_ControLineStateChanged(USB_ClassInfo_CDC_Device_t *const C
|
||||
*/
|
||||
bool HostReady = (CDCInterfaceInfo->State.ControlLineStates.HostToDevice & CDC_CONTROL_LINE_OUT_DTR) != 0;
|
||||
|
||||
(void)HostReady;
|
||||
|
||||
if (CDCInterfaceInfo == &VirtualSerial1_CDC_Interface)
|
||||
{
|
||||
// CDC interface 1's host is ready to send/receive data
|
||||
// CDC interface 1's host is ready to send/receive data if HostReady is true
|
||||
}
|
||||
else
|
||||
{
|
||||
// CDC interface 2's host is ready to send/receive data
|
||||
// CDC interface 2's host is ready to send/receive data if HostReady is true
|
||||
}
|
||||
}
|
||||
|
@ -199,4 +199,6 @@ void EVENT_CDC_Device_ControLineStateChanged(USB_ClassInfo_CDC_Device_t *const C
|
||||
in the pending data from the USB endpoints.
|
||||
*/
|
||||
bool HostReady = (CDCInterfaceInfo->State.ControlLineStates.HostToDevice & CDC_CONTROL_LINE_OUT_DTR) != 0;
|
||||
|
||||
(void)HostReady;
|
||||
}
|
||||
|
@ -238,6 +238,8 @@ void EVENT_CDC_Device_ControLineStateChanged(USB_ClassInfo_CDC_Device_t *const C
|
||||
in the pending data from the USB endpoints.
|
||||
*/
|
||||
bool HostReady = (CDCInterfaceInfo->State.ControlLineStates.HostToDevice & CDC_CONTROL_LINE_OUT_DTR) != 0;
|
||||
|
||||
(void)HostReady;
|
||||
}
|
||||
|
||||
/** Mass Storage class driver callback function the reception of SCSI commands from the host, which must be processed.
|
||||
|
@ -279,4 +279,6 @@ void EVENT_CDC_Device_ControLineStateChanged(USB_ClassInfo_CDC_Device_t *const C
|
||||
in the pending data from the USB endpoints.
|
||||
*/
|
||||
bool HostReady = (CDCInterfaceInfo->State.ControlLineStates.HostToDevice & CDC_CONTROL_LINE_OUT_DTR) != 0;
|
||||
|
||||
(void)HostReady;
|
||||
}
|
||||
|
Reference in New Issue
Block a user