tcl: introduce using_(jtag|swd|hla) helpers and use them in reset handler
[fw/openocd] / tcl / target / mdr32f9q2i.cfg
index 8e8262d7611e531ced1ce9ad1d574c5363f3d742..961451e0b6e54fceddd54f5a3435da16fdd185aa 100644 (file)
@@ -46,7 +46,7 @@ if { [info exists IMEMORY] && [string equal $IMEMORY true] } {
 adapter_khz 1000
 
 adapter_nsrst_delay 100
-if {$using_jtag} {
+if {[using_jtag]} {
    jtag_ntrst_delay 100
 }