From 3d8cb674dcfcb3fcbbae04582ea034b97db11d60 Mon Sep 17 00:00:00 2001 From: Dean Date: Sun, 12 Sep 2010 12:37:16 +0000 Subject: Add the "REQ_" prefix to the DFU class bootloader class-specific request constants. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1474 d5102386-fcda-11dd-9fdb-3debd5008f28 --- Bootloaders/DFU/BootloaderDFU.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Bootloaders/DFU/BootloaderDFU.h') diff --git a/Bootloaders/DFU/BootloaderDFU.h b/Bootloaders/DFU/BootloaderDFU.h index 43ea70f5..3ddd395c 100644 --- a/Bootloaders/DFU/BootloaderDFU.h +++ b/Bootloaders/DFU/BootloaderDFU.h @@ -102,25 +102,25 @@ #define DFU_FILLER_BYTES_SIZE 26 /** DFU class command request to detach from the host. */ - #define DFU_DETATCH 0x00 + #define REQ_DFU_DETATCH 0x00 /** DFU class command request to send data from the host to the bootloader. */ - #define DFU_DNLOAD 0x01 + #define REQ_DFU_DNLOAD 0x01 /** DFU class command request to send data from the bootloader to the host. */ - #define DFU_UPLOAD 0x02 + #define REQ_DFU_UPLOAD 0x02 /** DFU class command request to get the current DFU status and state from the bootloader. */ - #define DFU_GETSTATUS 0x03 + #define REQ_DFU_GETSTATUS 0x03 /** DFU class command request to reset the current DFU status and state variables to their defaults. */ - #define DFU_CLRSTATUS 0x04 + #define REQ_DFU_CLRSTATUS 0x04 /** DFU class command request to get the current DFU state of the bootloader. */ - #define DFU_GETSTATE 0x05 + #define REQ_DFU_GETSTATE 0x05 /** DFU class command request to abort the current multi-request transfer and return to the dfuIDLE state. */ - #define DFU_ABORT 0x06 + #define REQ_DFU_ABORT 0x06 /** DFU command to begin programming the device's memory. */ #define COMMAND_PROG_START 0x01 -- cgit v1.2.3