projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set all CDC and MassStorage device mode demos (LowLevel and ClassDriver) to use the...
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
CDC
/
Descriptors.h
diff --git
a/Demos/Device/ClassDriver/CDC/Descriptors.h
b/Demos/Device/ClassDriver/CDC/Descriptors.h
index
33ceab9
..
a764b2b
100644
(file)
--- a/
Demos/Device/ClassDriver/CDC/Descriptors.h
+++ b/
Demos/Device/ClassDriver/CDC/Descriptors.h
@@
-41,6
+41,10
@@
\r
#include <LUFA/Drivers/USB/USB.h>
\r
#include <LUFA/Drivers/USB/Class/CDC.h>
\r
\r
#include <LUFA/Drivers/USB/USB.h>
\r
#include <LUFA/Drivers/USB/Class/CDC.h>
\r
+
\r
+ #if (USE_INTERNAL_SERIAL == NO_DESCRIPTOR)
\r
+ #warning USE_INTERNAL_SERIAL is not available on this AVR - please manually construct a device serial descriptor.
\r
+ #endif
\r
\r
/* Macros: */
\r
/** Endpoint number of the CDC device-to-host notification IN endpoint. */
\r
\r
/* Macros: */
\r
/** Endpoint number of the CDC device-to-host notification IN endpoint. */
\r