aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-07-03 07:54:39 -0700
committerDrashna Jaelre <drashna@live.com>2019-07-03 07:54:49 -0700
commit110622eaa2787cc54818083d4243653b088e5b5a (patch)
treeb1637e4dc8d8aa13e9face4998cf25ae620361e5 /Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
parentd0fd80affba97b37eb00c650e87cb5982a4f260e (diff)
parent5ba628d10b54d58d445896290ba9799bd76a73b3 (diff)
downloadlufa-110622eaa2787cc54818083d4243653b088e5b5a.tar.gz
lufa-110622eaa2787cc54818083d4243653b088e5b5a.tar.bz2
lufa-110622eaa2787cc54818083d4243653b088e5b5a.zip
Merge remote-tracking branch 'abcminiuser/master'
Diffstat (limited to 'Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c')
-rw-r--r--Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c b/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
index 9a7ff4725..7091e8643 100644
--- a/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
+++ b/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2017.
+ Copyright (C) Dean Camera, 2019.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2017 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -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
}
}