aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/CDC/Descriptors.h
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/ClassDriver/CDC/Descriptors.h')
-rw-r--r--Demos/Device/ClassDriver/CDC/Descriptors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Demos/Device/ClassDriver/CDC/Descriptors.h b/Demos/Device/ClassDriver/CDC/Descriptors.h
index 33ceab9c5..a764b2b32 100644
--- a/Demos/Device/ClassDriver/CDC/Descriptors.h
+++ b/Demos/Device/ClassDriver/CDC/Descriptors.h
@@ -41,6 +41,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. */