projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Oops: Really disable building of Projects/Host/ClassDriver directory in the Projects...
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
USBtoSerial
/
Descriptors.h
diff --git
a/Demos/Device/ClassDriver/USBtoSerial/Descriptors.h
b/Demos/Device/ClassDriver/USBtoSerial/Descriptors.h
index
9e372e3
..
f78f395
100644
(file)
--- a/
Demos/Device/ClassDriver/USBtoSerial/Descriptors.h
+++ b/
Demos/Device/ClassDriver/USBtoSerial/Descriptors.h
@@
-40,7
+40,11
@@
#include <avr/pgmspace.h>
\r
\r
#include <LUFA/Drivers/USB/USB.h>
\r
#include <avr/pgmspace.h>
\r
\r
#include <LUFA/Drivers/USB/USB.h>
\r
- #include <LUFA/Drivers/USB/Class/Device/CDC.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