From 1ba09ea122cf4e1d8766c42047f2b3e6fa65da1a Mon Sep 17 00:00:00 2001 From: n2232 Date: Thu, 30 Sep 2010 01:22:42 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=9F=E3=83=83=E3=83=88=E5=BF=98?= =?UTF-8?q?=E3=82=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@240 013db118-44a6-b54f-8bf7-843cb86687b1 --- trunk/self_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/self_flash.c b/trunk/self_flash.c index d0291c7..6921ec7 100644 --- a/trunk/self_flash.c +++ b/trunk/self_flash.c @@ -157,13 +157,13 @@ void firm_update( ) while( !IICAIF && !SPD ) { } + my_spd = SPD; IICAIF = 0; *p_buffer = IICA; WREL = 1; p_buffer += 1; buff_written_size += 1; WDT_Restart( ); - my_spd = SPD; } while( ( buff_written_size != SELF_UPDATE_BUFF_SIZE ) && !SPD );