From f63496a117f6f084ad42854894f052d9a4cd755a Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Tue, 27 May 2014 21:38:46 +1000
Subject: [PATCH] Fix AVRISP-MKII status values to match the published protocol
 (thanks to Gustavo Souza).

---
 LUFA/DoxygenPages/LUFAPoweredProjects.txt      | 2 +-
 Projects/AVRISP-MKII/Lib/V2ProtocolConstants.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/LUFA/DoxygenPages/LUFAPoweredProjects.txt b/LUFA/DoxygenPages/LUFAPoweredProjects.txt
index 3c463ea9ed..428d174df1 100644
--- a/LUFA/DoxygenPages/LUFAPoweredProjects.txt
+++ b/LUFA/DoxygenPages/LUFAPoweredProjects.txt
@@ -187,7 +187,7 @@
  *  \li RFI21.1EU UHF RFID reader: http://www.metra.cz/rfid/uhf-rfid-ctecky/rfi21-1eu-uhf-rfid-ctecka.htm
  *  \li SmartCardDetective, a Smart Card analysis tool: http://www.smartcarddetective.com/
  *  \li TimelapsePlus, a digital camera time lapse tool: https://github.com/timelapseplus/TimelapsePlus-Firmware
- *  \li USBTINY-MKII, an AVRISP-MKII Clone AVR Programmer: http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/USBTiny_Mkii_index.php
+ *  \li USBTINY-MKII, an AVRISP-MKII Clone AVR Programmer: http://tom-itx.no-ip.biz:81/~webpage/boards/USBTiny_Mkii/USBTiny_Mkii_index.php
  *  \li UDS18B20 USB Temperature sensor: http://toughlog.org/uds18b20/
  *  \li VMeter, a USB MIDI touch strip controller: http://www.vmeter.net/
  *  \li XMEGA Development Board, using LUFA as an On-Board Programmer: http://xmega.mattair.net/
diff --git a/Projects/AVRISP-MKII/Lib/V2ProtocolConstants.h b/Projects/AVRISP-MKII/Lib/V2ProtocolConstants.h
index 8d905deb11..efa8ee6749 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