aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/USBtoSerial/Descriptors.h
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/LowLevel/USBtoSerial/Descriptors.h')
-rw-r--r--Demos/Device/LowLevel/USBtoSerial/Descriptors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Demos/Device/LowLevel/USBtoSerial/Descriptors.h b/Demos/Device/LowLevel/USBtoSerial/Descriptors.h
index bf9e7df1d..a3d101e8b 100644
--- a/Demos/Device/LowLevel/USBtoSerial/Descriptors.h
+++ b/Demos/Device/LowLevel/USBtoSerial/Descriptors.h
@@ -41,6 +41,10 @@
#include <avr/pgmspace.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: */
/** Macro to define a CDC class-specific functional descriptor. CDC functional descriptors have a
* uniform structure but variable sized data payloads, thus cannot be represented accurately by