summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-09 19:22:51 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-09 19:22:51 +0000
commit4486a8f81426056ffd1b17f13f85619b1b83837f (patch)
treeacc701d99bd05e799f05314385cd55fe38219b86
parent5808db821fad143166a25b2733d62c32724e7500 (diff)
downloadopenocd+libswd-4486a8f81426056ffd1b17f13f85619b1b83837f.tar.gz
openocd+libswd-4486a8f81426056ffd1b17f13f85619b1b83837f.tar.bz2
openocd+libswd-4486a8f81426056ffd1b17f13f85619b1b83837f.tar.xz
openocd+libswd-4486a8f81426056ffd1b17f13f85619b1b83837f.zip
Michael Bruck: fix warning
git-svn-id: svn://svn.berlios.de/openocd/trunk@479 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/flash/tms470.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flash/tms470.c b/src/flash/tms470.c
index 65e7016f..00896113 100644
--- a/src/flash/tms470.c
+++ b/src/flash/tms470.c
@@ -436,6 +436,7 @@ int tms470_unlock_flash(struct flash_bank_s *bank)
if (keysSet)
{
+ key_set_count = 5;
p_key_sets[0] = flashKeys;
p_key_sets[1] = FLASH_KEYS_ALL_ONES;
p_key_sets[2] = FLASH_KEYS_ALL_ZEROS;