diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2014-05-27 21:38:46 +1000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2014-05-27 21:38:46 +1000 |
commit | f63496a117f6f084ad42854894f052d9a4cd755a (patch) | |
tree | fc8dc1cb10f21222f3da0fc77eefa1ed813b17e3 /Projects/AVRISP-MKII/Lib/V2ProtocolConstants.h | |
parent | c4e85215bff8363ae9a9a79581cc3e7427b597c7 (diff) | |
download | lufa-f63496a117f6f084ad42854894f052d9a4cd755a.tar.gz lufa-f63496a117f6f084ad42854894f052d9a4cd755a.tar.bz2 lufa-f63496a117f6f084ad42854894f052d9a4cd755a.zip |
Fix AVRISP-MKII status values to match the published protocol (thanks to Gustavo Souza).
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/V2ProtocolConstants.h')
-rw-r--r-- | Projects/AVRISP-MKII/Lib/V2ProtocolConstants.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/AVRISP-MKII/Lib/V2ProtocolConstants.h b/Projects/AVRISP-MKII/Lib/V2ProtocolConstants.h index 8d905deb1..efa8ee674 100644 --- a/Projects/AVRISP-MKII/Lib/V2ProtocolConstants.h +++ b/Projects/AVRISP-MKII/Lib/V2ProtocolConstants.h @@ -68,11 +68,11 @@ #define STATUS_CMD_FAILED 0xC0 #define STATUS_CMD_UNKNOWN 0xC9 #define STATUS_CMD_ILLEGAL_PARAM 0xCA - #define STATUS_ISP_READY 0x10 + #define STATUS_ISP_READY 0x00 #define STATUS_CONN_FAIL_MOSI 0x01 #define STATUS_CONN_FAIL_RST 0x02 #define STATUS_CONN_FAIL_SCK 0x04 - #define STATUS_TGT_NOT_DETECTED 0x00 + #define STATUS_TGT_NOT_DETECTED 0x10 #define STATUS_TGT_REVERSE_INSERTED 0x20 #define PARAM_BUILD_NUMBER_LOW 0x80 |