X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fserver%2Fhttpd%2Ferase.tcl;fp=src%2Fserver%2Fhttpd%2Ferase.tcl;h=fa9210736d6b12d42617c3139d99b2ca97487542;hp=3c29840d3a6784c0745e8da2b12358af4ee67119;hb=fb86d0e76d280c544f28ff1396c706f4e19d77ca;hpb=6e1184dcffaf807476ab312404c1bc0a32c38c36 diff --git a/src/server/httpd/erase.tcl b/src/server/httpd/erase.tcl index 3c29840d3a..fa9210736d 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]" } }