From: oharboe Date: Sun, 9 Mar 2008 19:22:51 +0000 (+0000) Subject: Michael Bruck: fix warning X-Git-Tag: v0.1.0~810 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4486a8f81426056ffd1b17f13f85619b1b83837f;p=openocd Michael Bruck: fix warning git-svn-id: svn://svn.berlios.de/openocd/trunk@479 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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;