summaryrefslogtreecommitdiff
path: root/src/server/httpd/erase.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/httpd/erase.tcl')
-rw-r--r--src/server/httpd/erase.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/httpd/erase.tcl b/src/server/httpd/erase.tcl
index 3c29840d..fa921073 100644
--- a/src/server/httpd/erase.tcl
+++ b/src/server/httpd/erase.tcl
@@ -161,7 +161,7 @@ append buffer {
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]"
}
}