From d1608d4af321529f0ddef9defcd97669ae9018c3 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sat, 26 Dec 2009 04:13:55 +0000 Subject: 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. --- Projects/AVRISP/Lib/XPROG/XPROGProtocol.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Projects/AVRISP/Lib/XPROG/XPROGProtocol.c') 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. */ -- cgit v1.2.3