aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/stm32f3x.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/stm32f3x.cfg')
-rw-r--r--tcl/target/stm32f3x.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/stm32f3x.cfg b/tcl/target/stm32f3x.cfg
index 3d68c4bf..ec5941bd 100644
--- a/tcl/target/stm32f3x.cfg
+++ b/tcl/target/stm32f3x.cfg
@@ -34,7 +34,7 @@ if { [info exists WORKAREASIZE] } {
adapter_khz 1000
adapter_nsrst_delay 100
-if {$using_jtag} {
+if {[using_jtag]} {
jtag_ntrst_delay 100
}
@@ -58,7 +58,7 @@ if { [info exists BSTAPID] } {
set _BSTAPID2 0x06432041
}
-if {$using_jtag} {
+if {[using_jtag]} {
jtag newtap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID1 -expected-id $_BSTAPID2
}