Add new tag for the LUFA-120219-BETA release.
[pub/USBasp.git] / Projects / AVRISP-MKII / Lib / XPROG / XMEGANVM.c
index 71fa782..820374f 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2011.
+     Copyright (C) Dean Camera, 2012.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -149,7 +149,7 @@ void XMEGANVM_DisablePDI(void)
 {
        XMEGANVM_WaitWhileNVMBusBusy();
 
 {
        XMEGANVM_WaitWhileNVMBusBusy();
 
-       /* Clear the RESET key in the RESET PDI register to allow the XMEGA to run - must perform this until the 
+       /* Clear the RESET key in the RESET PDI register to allow the XMEGA to run - must perform this until the
         * change takes effect, as in some cases it takes multiple writes (silicon bug?).
         */
        do
         * change takes effect, as in some cases it takes multiple writes (silicon bug?).
         */
        do
@@ -157,7 +157,7 @@ void XMEGANVM_DisablePDI(void)
                /* Clear reset register */
                XPROGTarget_SendByte(PDI_CMD_STCS | PDI_RESET_REG);
                XPROGTarget_SendByte(0x00);
                /* Clear reset register */
                XPROGTarget_SendByte(PDI_CMD_STCS | PDI_RESET_REG);
                XPROGTarget_SendByte(0x00);
-       
+
                /* Read back the reset register, check to see if it took effect */
                XPROGTarget_SendByte(PDI_CMD_LDCS | PDI_RESET_REG);
        } while (XPROGTarget_ReceiveByte() != 0x00);
                /* Read back the reset register, check to see if it took effect */
                XPROGTarget_SendByte(PDI_CMD_LDCS | PDI_RESET_REG);
        } while (XPROGTarget_ReceiveByte() != 0x00);