summaryrefslogtreecommitdiff
path: root/src/server/httpd/menu.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/httpd/menu.xml')
-rw-r--r--src/server/httpd/menu.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/httpd/menu.xml b/src/server/httpd/menu.xml
index 11daef94..26ecf7a9 100644
--- a/src/server/httpd/menu.xml
+++ b/src/server/httpd/menu.xml
@@ -438,7 +438,7 @@
set form_length 0x10000
}
if {[string compare $form_address ""]==0} {
- if {[catch {[zy1000_flash]} result]==0} {
+ if {[catch {[first_flash_base]} result]==0} {
set form_address "0x[tohex $result]"
}
}
@@ -794,8 +794,8 @@ append console [encode [capture_catch poll]]
set form_command [formfetch form_command]
set form_edittext ""
- if {[string length $form_command]>0} {
- catch {capture_catch {eval "$form_command"}} form_edittext
+ if {[string length $form_command]>0} {
+ set form_edittext [capture_catch {eval $form_command}]
}
append buffer {<form action="openocd.tcl" method="post">} "\n"