X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/e0420015df848f18d5eb1672da4ccac578d454cf..fec31947a6b4e77f65d92bf14b32533bbbc39b2d:/Bootloaders/DFU/BootloaderDFU.h diff --git a/Bootloaders/DFU/BootloaderDFU.h b/Bootloaders/DFU/BootloaderDFU.h index a47da3d5c..c711e4378 100644 --- a/Bootloaders/DFU/BootloaderDFU.h +++ b/Bootloaders/DFU/BootloaderDFU.h @@ -55,7 +55,7 @@ * can protect the AVR's firmware from being dumped from a secured AVR. When false, memory operations are * allowed at any time. */ - #define SECURE_MODE false + #define SECURE_MODE false /** Major bootloader version number. */ #define BOOTLOADER_VERSION_MINOR 2 @@ -76,16 +76,16 @@ /** Convenience macro, used to determine if the issued command is the given one-byte long command. * - * \param dataarr Command byte array to check against - * \param cb1 First command byte to check + * \param[in] dataarr Command byte array to check against + * \param[in] cb1 First command byte to check */ #define IS_ONEBYTE_COMMAND(dataarr, cb1) (dataarr[0] == cb1) /** Convenience macro, used to determine if the issued command is the given two-byte long command. * - * \param dataarr Command byte array to check against - * \param cb1 First command byte to check - * \param cb2 Second command byte to check + * \param[in] dataarr Command byte array to check against + * \param[in] cb1 First command byte to check + * \param[in] cb2 Second command byte to check */ #define IS_TWOBYTE_COMMAND(dataarr, cb1, cb2) ((dataarr[0] == cb1) && (dataarr[1] == cb2)) @@ -191,8 +191,7 @@ void SetupHardware(void); void ResetHardware(void); - void EVENT_USB_Disconnect(void); - void EVENT_USB_UnhandledControlPacket(void); + void EVENT_USB_Device_UnhandledControlRequest(void); #if defined(INCLUDE_FROM_BOOTLOADER_C) static void DiscardFillerBytes(uint8_t NumberOfBytes);