|
Message
From: cvs at opencores.org<cvs@o...>
Date: Mon Oct 30 18:53:12 CET 2006
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/06/10 30:18:53 Modified: jop/java/target/src/app/tal Param.java Log: clear the parameter buffer before setString Revision Changes Path 1.2 jop/java/target/src/app/tal/Param.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/app/tal/Param.java.diff?r1=1.1&r2=1.2 (In the diff below, changes in quantity of whitespace are not shown.) Index: Param.java =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/app/tal/Param.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- Param.java 11 May 2005 17:37:20 -0000 1.1 +++ Param.java 30 Oct 2006 17:53:12 -0000 1.2 @@ -6,6 +6,7 @@ */ package tal; +import joprt.RtThread; import util.Dbg; /** @@ -218,10 +219,16 @@ * */ public void save() { + +Dbg.wr("parameter string="); +Dbg.wr(string); +Dbg.lf(); Config conf = Config.getInstance(); + conf.clearBuffer(FlashConst.CONFIG_TAL_PARAM); conf.setString(FlashConst.CONFIG_TAL_PARAM, string); - conf.write(); Dbg.wr("write parameter and stop the WD\n"); +Dbg.lf(); + conf.write(); Tal.stop(); }
|
 |