X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/28343b1475b999e61c8fe98eb420507a0e6da388..18b0d408a9e68cbc1ce36da89d74a799d7fc31de:/Bootloaders/CDC/BootloaderCDC.h diff --git a/Bootloaders/CDC/BootloaderCDC.h b/Bootloaders/CDC/BootloaderCDC.h index 97e32e9fb..d83b27f5e 100644 --- a/Bootloaders/CDC/BootloaderCDC.h +++ b/Bootloaders/CDC/BootloaderCDC.h @@ -46,12 +46,7 @@ #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 + #include /* Macros: */ /** CDC Class Specific request to get the line encoding on a CDC-ACM virtual serial port, including the @@ -109,7 +104,7 @@ }; /** Enum for the possible parity modes on a CDC-ACM virtual serial port */ - enum BootloaderCDC_CDC_LineCodeingParity_t + enum BootloaderCDC_CDC_LineCodingParity_t { Parity_None = 0, /**< No data parity checking */ Parity_Odd = 1, /**< Odd data parity checking */ @@ -123,9 +118,8 @@ void SetupHardware(void); void ResetHardware(void); - void EVENT_USB_Disconnect(void); - void EVENT_USB_ConfigurationChanged(void); - void EVENT_USB_UnhandledControlPacket(void); + void EVENT_USB_Device_ConfigurationChanged(void); + void EVENT_USB_Device_UnhandledControlRequest(void); #if defined(INCLUDE_FROM_BOOTLOADERCDC_C) || defined(__DOXYGEN__) static void ReadWriteMemoryBlock(const uint8_t Command);