X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/99145a8d7c88d9af065cfb7f5e8507d5b65ff811..958a1b4e2bffdc548b34edd322d30cec5d5feacd:/Bootloaders/CDC/BootloaderCDC.h diff --git a/Bootloaders/CDC/BootloaderCDC.h b/Bootloaders/CDC/BootloaderCDC.h index a6e77550c..e302a3966 100644 --- a/Bootloaders/CDC/BootloaderCDC.h +++ b/Bootloaders/CDC/BootloaderCDC.h @@ -41,12 +41,18 @@ #include #include #include + #include #include #include "Descriptors.h" #include // USB Functionality + /* Preprocessor Checks: */ + #if !defined(SIGNATURE_0) || !defined(SIGNATURE_1) || !defined(SIGNATURE_2) + #error Device signature byte constants are not defined due to outdated avr-libc version. See demo documentation. + #endif + /* Macros: */ /** CDC Class Specific request to get the line encoding on a CDC-ACM virtual serial port, including the * baud rate, parity, stop bits and data bits. @@ -76,7 +82,7 @@ #define BOOTLOADER_HWVERSION_MINOR 0x00 /** Eight character bootloader firmware identifier reported to the host when requested */ - #define SOFTWARE_IDENTIFIER "LUFA-CDC" + #define SOFTWARE_IDENTIFIER "LUFACDC" /* Event Handlers: */ /** Indicates that this module will catch the USB_Disconnect event when thrown by the library. */