diff options
Diffstat (limited to 'Demos/Device/ClassDriver/MassStorage')
-rw-r--r-- | Demos/Device/ClassDriver/MassStorage/Descriptors.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/MassStorage/Descriptors.h b/Demos/Device/ClassDriver/MassStorage/Descriptors.h index 0fa147b75..5cf653a56 100644 --- a/Demos/Device/ClassDriver/MassStorage/Descriptors.h +++ b/Demos/Device/ClassDriver/MassStorage/Descriptors.h @@ -37,9 +37,14 @@ #define _DESCRIPTORS_H_
/* Includes: */
+ #include <avr/pgmspace.h>
+
#include <LUFA/Drivers/USB/USB.h>
+ #include <LUFA/Drivers/USB/Class/MassStorage.h>
- #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: */
/** Endpoint number of the Mass Storage device-to-host data IN endpoint. */
|