aboutsummaryrefslogtreecommitdiff
path: root/config/base68k.exp
diff options
context:
space:
mode:
Diffstat (limited to 'config/base68k.exp')
-rw-r--r--config/base68k.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/base68k.exp b/config/base68k.exp
index c76bd57..f8fb361 100644
--- a/config/base68k.exp
+++ b/config/base68k.exp
@@ -92,7 +92,7 @@ proc base68k_ld { dest prog } {
}
set got_p 0
- for { set tries 0; } { (! $got_p) && $tries < 5 } { incr tries } {
+ for { set tries 0 } { (! $got_p) && $tries < 5 } { incr tries } {
remote_send $dest "\r\n\r\n"
remote_expect $dest 5 {
-re "${shell_prompt}$" {
@@ -279,7 +279,7 @@ proc base68k_load { dest prog args } {
set shell_prompt [board_info $dest shell_prompt]
if { [llength $args] > 0 } {
- for { set x 0; } { $x < [llength $args] } { incr x ; } {
+ for { set x 0 } { $x < [llength $args] } { incr x } {
if { [lindex $args $x] != "" } {
verbose -log "Cannot pass parameters or input file to this target"
return [list "unsupported" ""]