aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/Lib/XPROG/XPROGProtocol.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-26 04:13:55 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-26 04:13:55 +0000
commitd1608d4af321529f0ddef9defcd97669ae9018c3 (patch)
tree79a2ba0fe2bfa14670a489e77f4c201f380de4f0 /Projects/AVRISP/Lib/XPROG/XPROGProtocol.c
parent35dac470f243d234d72f34cbaeb1d6c8a15bc435 (diff)
downloadlufa-d1608d4af321529f0ddef9defcd97669ae9018c3.tar.gz
lufa-d1608d4af321529f0ddef9defcd97669ae9018c3.tar.bz2
lufa-d1608d4af321529f0ddef9defcd97669ae9018c3.zip
Added const where possible to the source functions in the Projects directory.
Added command timeout to the AVRISP project so that incorrectly connected targets no longer freeze the device. Removed string descriptors from the TeensyHID bootloader to reduce its size.
Diffstat (limited to 'Projects/AVRISP/Lib/XPROG/XPROGProtocol.c')
-rw-r--r--Projects/AVRISP/Lib/XPROG/XPROGProtocol.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Projects/AVRISP/Lib/XPROG/XPROGProtocol.c b/Projects/AVRISP/Lib/XPROG/XPROGProtocol.c
index edcc874d7..bccb96c2c 100644
--- a/Projects/AVRISP/Lib/XPROG/XPROGProtocol.c
+++ b/Projects/AVRISP/Lib/XPROG/XPROGProtocol.c
@@ -38,7 +38,7 @@
#if defined(ENABLE_XPROG_PROTOCOL) || defined(__DOXYGEN__)
/** Base absolute address for the target's NVM controller */
-uint32_t XPROG_Param_NVMBase = 0x010001C0;
+uint32_t XPROG_Param_NVMBase = 0x010001C0;
/** Size in bytes of the target's EEPROM page */
uint32_t XPROG_Param_EEPageSize;
@@ -46,7 +46,6 @@ uint32_t XPROG_Param_EEPageSize;
/** Currently selected XPROG programming protocol */
uint8_t XPROG_SelectedProtocol = XPRG_PROTOCOL_PDI;
-
/** Handler for the CMD_XPROG_SETMODE command, which sets the programmer-to-target protocol used for PDI/TPI
* programming.
*/