aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/Lib/PDIProtocol.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-15 10:06:49 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-15 10:06:49 +0000
commit2f6c096050ee0057ccbff0ee87d58f72fae75748 (patch)
tree7027f3a51b0fe4fe3de15c1c57e96a35f2c61dc6 /Projects/AVRISP/Lib/PDIProtocol.h
parent79efd8c79e723adb3392367ae62356c5c3a835d0 (diff)
downloadlufa-2f6c096050ee0057ccbff0ee87d58f72fae75748.tar.gz
lufa-2f6c096050ee0057ccbff0ee87d58f72fae75748.tar.bz2
lufa-2f6c096050ee0057ccbff0ee87d58f72fae75748.zip
Complete initial working revision of PDI programming in the AVRISP project (XMEGAs can now be programmed by the firmware).
Diffstat (limited to 'Projects/AVRISP/Lib/PDIProtocol.h')
-rw-r--r--Projects/AVRISP/Lib/PDIProtocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/AVRISP/Lib/PDIProtocol.h b/Projects/AVRISP/Lib/PDIProtocol.h
index 127f0866e..137bcc2cf 100644
--- a/Projects/AVRISP/Lib/PDIProtocol.h
+++ b/Projects/AVRISP/Lib/PDIProtocol.h
@@ -98,8 +98,8 @@
#define XPRG_PROTOCOL_PDI 0x00
#define XPRG_PROTOCOL_JTAG 0x01
- #define XPRG_PAGEMODE_WRITE (1 << 0)
- #define XPRG_PAGEMODE_ERASE (1 << 1)
+ #define XPRG_PAGEMODE_WRITE (1 << 1)
+ #define XPRG_PAGEMODE_ERASE (1 << 0)
/* External Variables: */
extern uint32_t XPROG_Param_NVMBase;