Move check for devices not supporting internal serials in demos which make use of USE_INTERNAL_SERIAL to Descriptors.c from Descriptors.h so that the warning is only generated at most once per compilation.

This commit is contained in:
Dean Camera 2009-09-01 11:16:57 +00:00
parent dac7b046fd
commit bda4bd4501
17 changed files with 97 additions and 33 deletions

View file

@ -41,10 +41,6 @@
#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. */