From ceb68a06408ca31d41cfb57eb3cd20268c1aed15 Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Tue, 17 Mar 2009 13:56:26 +0000
Subject: Corrected CDC class bootloader to fix a few bugs, changed address
 counter to store x2 addresses for convenience.

---
 Bootloaders/DFU/BootloaderDFU.c | 7 -------
 Bootloaders/DFU/BootloaderDFU.h | 7 +++++++
 2 files changed, 7 insertions(+), 7 deletions(-)

(limited to 'Bootloaders/DFU')

diff --git a/Bootloaders/DFU/BootloaderDFU.c b/Bootloaders/DFU/BootloaderDFU.c
index 9fff20c12..6bea9b25f 100644
--- a/Bootloaders/DFU/BootloaderDFU.c
+++ b/Bootloaders/DFU/BootloaderDFU.c
@@ -32,13 +32,6 @@
  *
  *  Main source file for the DFU class bootloader. This file contains the complete bootloader logic.
  */
- 
-/** Configuration define. Define this token to true to case the bootloader to reject all memory commands
- *  until a memory erase has been performed. When used in conjunction with the lockbits of the AVR, this
- *  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  INCLUDE_FROM_BOOTLOADER_C
 #include "BootloaderDFU.h"
diff --git a/Bootloaders/DFU/BootloaderDFU.h b/Bootloaders/DFU/BootloaderDFU.h
index 21e8fce71..5a83403df 100644
--- a/Bootloaders/DFU/BootloaderDFU.h
+++ b/Bootloaders/DFU/BootloaderDFU.h
@@ -50,6 +50,13 @@
 		#include <LUFA/Drivers/USB/USB.h>                // USB Functionality
 		
 	/* Macros: */
+		/** Configuration define. Define this token to true to case the bootloader to reject all memory commands
+		 *  until a memory erase has been performed. When used in conjunction with the lockbits of the AVR, this
+		 *  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
+
 		/** Major bootloader version number. */
 		#define BOOTLOADER_VERSION_MINOR 2
 
-- 
cgit v1.2.3