Added workaround for broken VBUS detection on AVR8 devices when a bootloader starts...
[pub/USBasp.git] / Bootloaders / CDC / BootloaderCDC.h
index 257e884..d8c9c1c 100644 (file)
@@ -47,6 +47,7 @@
 
                #include "Descriptors.h"
                #include "BootloaderAPI.h"
+               #include "Config/AppConfig.h"
 
                #include <LUFA/Drivers/USB/USB.h>
                #include <LUFA/Drivers/Board/LEDs.h>
@@ -68,7 +69,7 @@
                #define SOFTWARE_IDENTIFIER          "LUFACDC"
 
                /** Magic bootloader key to unlock forced application start mode. */
-               #define MAGIC_BOOT_KEY            0xDC42CACA
+               #define MAGIC_BOOT_KEY               0xDC42
                
        /* Type Defines: */
                /** Type define for a non-returning pointer to the start of the loaded application in flash memory. */