aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/USBtoSerial/Descriptors.h
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/ClassDriver/USBtoSerial/Descriptors.h')
-rw-r--r--Demos/Device/ClassDriver/USBtoSerial/Descriptors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Demos/Device/ClassDriver/USBtoSerial/Descriptors.h b/Demos/Device/ClassDriver/USBtoSerial/Descriptors.h
index 730acc601..f78f395a3 100644
--- a/Demos/Device/ClassDriver/USBtoSerial/Descriptors.h
+++ b/Demos/Device/ClassDriver/USBtoSerial/Descriptors.h
@@ -42,6 +42,10 @@
#include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/USB/Class/CDC.h>
+ #if (USE_INTERNAL_SERIAL == NO_DESCRIPTOR)
+ #warning USE_INTERNAL_SERIAL is not available on this AVR - please manually construct a device serial descriptor.
+ #endif
+
/* Macros: */
/** Endpoint number of the CDC device-to-host notification IN endpoint. */
#define CDC_NOTIFICATION_EPNUM 2