Added preprocessor checks and documentation to the bootloaders giving information...
[pub/lufa.git] / Bootloaders / CDC / BootloaderCDC.h
index dce84a5..7669b83 100644 (file)
 \r
                #include <LUFA/Drivers/USB/USB.h>                // USB Functionality\r
 \r
+       /* Preprocessor Checks: */\r
+               #if !defined(SIGNATURE_0) || !defined(SIGNATURE_1) || !defined(SIGNATURE_2)\r
+                       #error Device signature byte constants are not defined due to outdated avr-libc version. See demo documentation.\r
+               #endif\r
+\r
        /* Macros: */\r
                /** CDC Class Specific request to get the line encoding on a CDC-ACM virtual serial port, including the\r
                 *  baud rate, parity, stop bits and data bits.\r