]> git.gag.com Git - fw/openocd/blobdiff - tcl/target/c100helper.tcl
rename jtag_khz as adapter_khz
[fw/openocd] / tcl / target / c100helper.tcl
index 965887131e7b5515d4c201a8cccb6272a582b8ef..1fd58b6574281781e3d4522716455e569e30d377 100644 (file)
@@ -504,7 +504,7 @@ proc reboot {} {
     mww $TIMER_WDT_HIGH_BOUND  0xffffff
     mww $TIMER_WDT_CURRENT_COUNT 0x0
     puts "JTAG speed lowered to 100kHz"
-    jtag_khz 100
+    adapter_khz 100
     mww $TIMER_WDT_CONTROL 0x1
     # wait until the reset
     puts -nonewline "Wating for watchdog to trigger..."