aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/Lib/ISPProtocol.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-14 02:59:34 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-14 02:59:34 +0000
commit1fa27139f5c195c0d7147dac0c5332a6ea10229a (patch)
tree9cb1450d78252d7360fd87c0f28db9cabe85782c /Projects/AVRISP/Lib/ISPProtocol.c
parent66482341573c035e4c90cee32b89fb7f59068e40 (diff)
downloadlufa-1fa27139f5c195c0d7147dac0c5332a6ea10229a.tar.gz
lufa-1fa27139f5c195c0d7147dac0c5332a6ea10229a.tar.bz2
lufa-1fa27139f5c195c0d7147dac0c5332a6ea10229a.zip
Split out NVM access code in the AVRISP project into a seperate NVMTarget.c source file and header. Make NVM register accesses use the NVM base address as set by the host, rather than using the fixed value from the XMEGA datasheet.
Diffstat (limited to 'Projects/AVRISP/Lib/ISPProtocol.c')
-rw-r--r--Projects/AVRISP/Lib/ISPProtocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/AVRISP/Lib/ISPProtocol.c b/Projects/AVRISP/Lib/ISPProtocol.c
index 6e81ac8e4..9b8666afb 100644
--- a/Projects/AVRISP/Lib/ISPProtocol.c
+++ b/Projects/AVRISP/Lib/ISPProtocol.c
@@ -28,8 +28,6 @@
this software.
*/
-#if defined(ENABLE_ISP_PROTOCOL) || defined(__DOXYGEN__)
-
/** \file
*
* ISP Protocol handler, to process V2 Protocol wrapped ISP commands used in Atmel programmer devices.
@@ -37,6 +35,8 @@
#include "ISPProtocol.h"
+#if defined(ENABLE_ISP_PROTOCOL) || defined(__DOXYGEN__)
+
/** Handler for the CMD_ENTER_PROGMODE_ISP command, which attempts to enter programming mode on
* the attached device, returning success or failure back to the host.
*/