From 4486a8f81426056ffd1b17f13f85619b1b83837f Mon Sep 17 00:00:00 2001 From: oharboe Date: Sun, 9 Mar 2008 19:22:51 +0000 Subject: Michael Bruck: fix warning git-svn-id: svn://svn.berlios.de/openocd/trunk@479 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/flash/tms470.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3