diff options
author | Dean Camera <[email protected]> | 2010-02-08 03:16:09 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2010-02-08 03:16:09 +0000 |
commit | 7ae91099e9b356d3f9fe14b41a53a6af1161690c (patch) | |
tree | 04d85c5425799a686b7448564a21556f7e56649b /Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h | |
parent | 6a48efd3bd66a1f6b4e24a75881dac337e3c9c95 (diff) | |
download | qmk_firmware-7ae91099e9b356d3f9fe14b41a53a6af1161690c.tar.gz qmk_firmware-7ae91099e9b356d3f9fe14b41a53a6af1161690c.zip |
Fix AVRISP-MKII clone project's TPI Chip Erase command processing - ensure erase location is the high byte in the given address space, check NVMBUSY for completion rather than the NVM Bus Enable bit.
Change If-Else chains over to switch statements in XPROGProtocol.c for clarity.
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h')
-rw-r--r-- | Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h index 41bc14a1a9..bc2953dd2a 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h +++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h @@ -131,7 +131,7 @@ #define TPI_NVMENABLE_KEY (uint8_t[]){0x12, 0x89, 0xAB, 0x45, 0xCD, 0xD8, 0x88, 0xFF}
#define TPI_POINTER_INDIRECT 0
- #define TPI_POINTER_INDIRECT_PI (1 << 2)
+ #define TPI_POINTER_INDIRECT_PI 4
/* Function Prototypes: */
void XPROGTarget_EnableTargetPDI(void);
|